Unverified Commit 78eae794 authored by Joel Ambass's avatar Joel Ambass Committed by GitHub
Browse files

Add workflow file for publishing releases to immutable action package

This workflow file publishes new action releases to the immutable action package of the same name as this repo.

This is part of the Immutable Actions project which is not yet fully released to the public. First party actions like this one are part of our initial testing of this feature.
parent 2dfa2011
Loading
Loading
Loading
Loading
+22
Changes for .github/workflows/publish-immutable-actions.yml: 22 added lines, 0 removed lines.
Original line number Diff line number Diff line
name: 'Publish Immutable Action Version'

on:
  release:
    types: [created]

jobs:
  publish:
    runs-on: ubuntu-latest
    permissions:
      contents: read
      id-token: write
      packages: write

    steps:
      - name: Checking out
        uses: actions/checkout@v4
      - name: Publish
        id: publish
        uses: actions/[email protected]
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}