Skip to content

Commit

Permalink
[auto]
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed May 25, 2020
1 parent fb7855c commit 5311453
Show file tree
Hide file tree
Showing 20 changed files with 8,168 additions and 4,786 deletions.
37 changes: 0 additions & 37 deletions .github/workflows/release.yml

This file was deleted.

3 changes: 0 additions & 3 deletions .gitignore

This file was deleted.

15 changes: 0 additions & 15 deletions Dockerfile

This file was deleted.

261 changes: 0 additions & 261 deletions README.md

This file was deleted.

29 changes: 9 additions & 20 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: Push pre-built JavaScript / TypeScript / Docker container GitHub Action
description: Speed up CI execution time by pre-building.

branding:
icon: git-branch
color: white

inputs:
committer-name:
description: The name to set as git `user.name`.
Expand All @@ -16,57 +14,48 @@ inputs:
default: [email protected]
commit-message:
description: >
The commit message for the compiled.
Leave blank to avoid committing and pushing.
The commit message for the compiled. Leave blank to avoid committing and
pushing.
required: true
default: '[auto]'

exclude-from-cleanup:
description: Files/dirs to leave for commit.
required: true
default: action.yml action.yaml dist .git

push-branch:
description: The name of branch to push compiled file.
required: false
release-tags:
description: The names to tag the compiled file commit.
required: false
force-push:
description: >
Whether to force push to branch or tags.
Either 'true' or 'false'.
description: |
Whether to force push to branch or tags. Either 'true' or 'false'.
required: true
default: 'true'

docker-registry:
description: The server URL of the Docker registry.
required: false
# default: docker.pkg.github.io
docker-repotag:
description: The Docker registry's repository of push action image.
required: false
# default: docker.pkg.github.com/${{ github.repository }}/github-action-image:${{ github.sha }}
docker-user:
description: The username to login to the Docker registry.
required: false
# default: x-access-token # https://github.com/actions/checkout/blob/01aecccf739ca6ff86c0539fbc67a7a5007bbc81/src/git-auth-helper.ts#L57
docker-token:
description: The token to login to the Docker registry.
required: false
# default: ${{ github.token }}
docker-build-command:
description: The command and arguments to build Docker image.
required: false
default: docker build -t {repotag} .

default: 'docker build -t {repotag} .'
js-build-command:
description: >
The command and arguments to build JavaScript or TypeScript files.
The artifacts must be in the dist/ directory and entrypoint must be dist/index.js.
The command and arguments to build JavaScript or TypeScript files. The
artifacts must be in the dist/ directory and entrypoint must be
dist/index.js.
required: false
default: ncc build --v8-cache {main}
default: 'ncc build --v8-cache {main}'
runs:
using: node12
# to compile own
main: dist/index.js
Loading

0 comments on commit 5311453

Please sign in to comment.