Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4bc8754ffc | |||
| f4d851fab3 | |||
| fc8ba308da | |||
| 3fc9aa365f | |||
| 2d5c4224f2 |
@@ -0,0 +1,23 @@
|
||||
name: Release new action version
|
||||
on:
|
||||
release:
|
||||
types: [released]
|
||||
|
||||
env:
|
||||
TAG_NAME: ${{ github.event.release.tag_name }}
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
update_tag:
|
||||
name: Update the major tag to include the ${{ github.event.release.tag_name }} changes
|
||||
environment:
|
||||
name: releaseNewActionVersion
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Update the ${{ env.TAG_NAME }} tag
|
||||
id: update-major-tag
|
||||
uses: actions/publish-action@v0.3.0
|
||||
with:
|
||||
source-tag: ${{ env.TAG_NAME }}
|
||||
slack-webhook: ${{ secrets.SLACK_WEBHOOK }}
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user