Files
publish-immutable-action/action.yml
T

26 lines
885 B
YAML
Raw Normal View History

2023-11-17 20:04:42 +00:00
name: 'Package and Publish'
description: 'Publish actions as OCI artifacts to GHCR'
# TODO: Add your action's branding here. This will appear on the GitHub Marketplace.
branding:
icon: 'heart'
color: 'red'
2024-03-01 16:45:32 +00:00
inputs:
github-token:
description: 'The GitHub actions token used to authenticate with GitHub APIs'
2023-11-17 20:04:42 +00:00
outputs:
package-url:
description: 'The name of package published to GHCR along with semver. For example, https://ghcr.io/actions/package-action:1.0.1'
package-manifest:
description: 'The package manifest of the published package in JSON format'
2024-01-25 08:34:02 -08:00
package-manifest-sha:
description: 'A sha256 hash of the package manifest'
2024-03-01 16:45:32 +00:00
attestation-id:
description: 'The attestation id of the generated provenance attestation. This is not present if the package is not attested, e.g. in enterprise environments.'
2024-01-30 14:02:59 +00:00
2023-11-17 20:04:42 +00:00
runs:
2024-03-01 16:45:32 +00:00
using: node20
main: dist/index.js