Use Release Published

This commit is contained in:
Joel Ambass
2024-09-16 17:05:18 +02:00
parent 4b1aa5c1cd
commit 2d5c4224f2
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -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 # Since this is the publishing action itself, we can use the current checkout as the action
name: 'Publish Immutable Action Version' name: 'Publish Immutable Action Version'
on: on:
release: release:
types: [created] types: [published]
permissions: permissions:
contents: read
id-token: write id-token: write
packages: write packages: write
jobs: jobs:
+1 -1
View File
@@ -37,7 +37,7 @@ name: "Publish Immutable Action Version"
on: on:
release: release:
types: [created] types: [published]
jobs: jobs:
publish: publish: