8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f07f7f commit 0cf603fCopy full SHA for 0cf603f
.github/workflows/release-new-action-version.yml
@@ -0,0 +1,28 @@
1
+name: Release new action version
2
+
3
+on:
4
+ release:
5
+ types: [released]
6
+ workflow_dispatch:
7
+ inputs:
8
+ TAG_NAME:
9
+ description: 'Tag name that the major tag will point to'
10
+ required: true
11
12
+env:
13
+ TAG_NAME: ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }}
14
+permissions:
15
+ contents: write
16
17
+jobs:
18
+ update_tag:
19
+ name: Update the major tag to include the ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }} changes
20
+ environment:
21
+ name: releaseNewActionVersion
22
+ runs-on: ubuntu-latest
23
+ steps:
24
+ - name: Update the ${{ env.TAG_NAME }} tag
25
+ uses: actions/publish-action@v0.2.2
26
+ with:
27
+ source-tag: ${{ env.TAG_NAME }}
28
+ slack-webhook: ${{ secrets.SLACK_WEBHOOK }}
0 commit comments