002cf6068220e0b8af93da347e764266b37dca1c
Publish Action Package
This action packages your action as OCI artifacts and publishes it to the GitHub Container registry.
This allows your action to be consumed as an immutable package even if a semver is specified in the consumer's workflow file.
Your action workflow must be triggered on release as in the following example. The release's title must follow semantic versioning. Then consumers of your action will then be able to specify the version, e.g., - uses: your-name/your-action@v1.2.3 or even - uses: your-name/your-action@v1.
Usage
on:
release:
- uses: immutable-actions/publish-action-package@v1
with:
# Relative path of the working directory of the repository to be tar archived
# and uploaded as OCI Artifact layer. You can mention multiple files/folders
# by mentioning relative paths as space separated values.
#
# This defaults to the entire action repository contents if not explicitly defined.
# Default: '.'
path: 'src/ action.yml dist/'
License
The scripts and documentation in this project are released under the MIT License.
Description
Languages
TypeScript
98.7%
Shell
1.3%