11name : Push pre-built JavaScript / TypeScript / Docker container GitHub Action
22description : Speed up CI execution time by pre-building.
3-
43branding :
54 icon : git-branch
65 color : white
7-
86inputs :
97 committer-name :
108 description : The name to set as git `user.name`.
@@ -16,57 +14,48 @@ inputs:
1614 default : actions@github.com
1715 commit-message :
1816 description : >
19- The commit message for the compiled.
20- Leave blank to avoid committing and pushing.
17+ The commit message for the compiled. Leave blank to avoid committing and
18+ pushing.
2119 required : true
2220 default : ' [auto]'
23-
2421 exclude-from-cleanup :
2522 description : Files/dirs to leave for commit.
2623 required : true
2724 default : action.yml action.yaml dist .git
28-
2925 push-branch :
3026 description : The name of branch to push compiled file.
3127 required : false
3228 release-tags :
3329 description : The names to tag the compiled file commit.
3430 required : false
3531 force-push :
36- description : >
37- Whether to force push to branch or tags.
38- Either 'true' or 'false'.
32+ description : |
33+ Whether to force push to branch or tags. Either 'true' or 'false'.
3934 required : true
4035 default : ' true'
41-
4236 docker-registry :
4337 description : The server URL of the Docker registry.
4438 required : false
45- # default: docker.pkg.github.io
4639 docker-repotag :
4740 description : The Docker registry's repository of push action image.
4841 required : false
49- # default: docker.pkg.github.com/${{ github.repository }}/github-action-image:${{ github.sha }}
5042 docker-user :
5143 description : The username to login to the Docker registry.
5244 required : false
53- # default: x-access-token # https://github.com/actions/checkout/blob/01aecccf739ca6ff86c0539fbc67a7a5007bbc81/src/git-auth-helper.ts#L57
5445 docker-token :
5546 description : The token to login to the Docker registry.
5647 required : false
57- # default: ${{ github.token }}
5848 docker-build-command :
5949 description : The command and arguments to build Docker image.
6050 required : false
61- default : docker build -t {repotag} .
62-
51+ default : ' docker build -t {repotag} .'
6352 js-build-command :
6453 description : >
65- The command and arguments to build JavaScript or TypeScript files.
66- The artifacts must be in the dist/ directory and entrypoint must be dist/index.js.
54+ The command and arguments to build JavaScript or TypeScript files. The
55+ artifacts must be in the dist/ directory and entrypoint must be
56+ dist/index.js.
6757 required : false
68- default : ncc build --v8-cache {main}
58+ default : ' ncc build --v8-cache {main}'
6959runs :
7060 using : node12
71- # to compile own
7261 main : dist/index.js
0 commit comments