Files
fetch-metadata/.github/workflows/release-publish-package.yml
Jeff Widman 6ad01a0495 Add workflow to publish new version of immutable action on every release (#623)
Adds a workflow that publishes a new version of the immutable action package
for this action on every release.

Co-authored-by: Nish Sinha <nishnha@github.com>
2025-05-09 17:37:39 -06:00

28 lines
645 B
YAML

name: "Publish Immutable Action Version"
on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
packages: write
steps:
- uses: actions/checkout@v4
- name: Publish
id: publish
uses: actions/publish-immutable-action@0.0.3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Set summary
run: |
echo ":rocket: Successfully published a new version of the immutable action package pointing at release: ${{ github.event.release.name }}" >> $GITHUB_STEP_SUMMARY