Skip to content

Commit

Permalink
Merge pull request #200 from actions/jcambass/2024-09-16/update-instr…
Browse files Browse the repository at this point in the history
…uctions

Use Release Published
  • Loading branch information
Jcambass authored Sep 16, 2024
2 parents 4b1aa5c + 2d5c422 commit 3fc9aa3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# Package and publish the action when a new release is created
# Package and publish the action when a new release is published
# Since this is the publishing action itself, we can use the current checkout as the action
name: 'Publish Immutable Action Version'
on:
release:
types: [created]
types: [published]
permissions:
contents: read
id-token: write
packages: write
jobs:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ name: "Publish Immutable Action Version"

on:
release:
types: [created]
types: [published]

jobs:
publish:
Expand Down

0 comments on commit 3fc9aa3

Please sign in to comment.