3 Star 0 Fork 0

mirrors_jaywcjlove/github-action-package

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
action.yml 2.16 KB
一键复制 编辑 原始数据 按行查看 历史
小弟调调 提交于 2024-02-23 14:01 . fix: upgrade node16 to node20 #11
name: 'Read & Modify of package.json'
author: 'Kenny Wong'
description: 'Read and modify the contents of package.json.'
inputs:
token:
description: 'Your GITHUB_TOKEN'
default: ${{ github.token }}
required: false
path:
description: The path of the target file "package.json".
default: package.json
required: false
data:
description: json data for changing "package.json".
required: false
rename:
description: Used to change "name" data in "package.json".
required: false
version:
description: Used to change "`version`" data in "package.json".
required: false
description:
description: Used to change "`description`" data in "package.json".
required: false
unset:
description: delete "Object" nested values
required: false
outputs:
name:
description: 'name field in package.json, The name of the package.'
version:
description: 'version field in package.json, Version must be parseable by node-semver, which is bundled with npm as a dependency.'
description:
description: "description field in package.json, This helps people discover your package, as it's listed in 'npm search'."
author:
description: 'author field in package.json'
homepage:
description: 'homepage field in package.json, The url to the project homepage.'
license:
description: "license field in package.json, You should specify a license for your package so that people know how they are permitted to use it, and any restrictions you're placing on it."
private:
description: "private field in package.json"
keywords:
description: "keywords field in package.json, This helps people discover your package as it's listed in 'npm search'."
repository:
description: "keywords field in package.json, Specify the place where your code lives. This is helpful for people who want to contribute."
os:
description: "os field in package.json, Specify which operating systems your module will run on."
cpu:
description: "cpu field in package.json, Specify that your code only runs on certain cpu architectures."
runs:
using: 'node20'
main: 'lib/index.js'
branding:
icon: 'list'
color: 'blue'
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_jaywcjlove/github-action-package.git
git@gitee.com:mirrors_jaywcjlove/github-action-package.git
mirrors_jaywcjlove
github-action-package
github-action-package
main

搜索帮助