Skip to content

Commit 4bc8754

Browse files
authored
Merge pull request #208 from actions/konradpabjan/add-new-release-workflow
Add release action
2 parents 3fc9aa3 + f4d851f commit 4bc8754

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Release new action version
2+
on:
3+
release:
4+
types: [released]
5+
6+
env:
7+
TAG_NAME: ${{ github.event.release.tag_name }}
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
update_tag:
13+
name: Update the major tag to include the ${{ github.event.release.tag_name }} changes
14+
environment:
15+
name: releaseNewActionVersion
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Update the ${{ env.TAG_NAME }} tag
19+
id: update-major-tag
20+
uses: actions/[email protected]
21+
with:
22+
source-tag: ${{ env.TAG_NAME }}
23+
slack-webhook: ${{ secrets.SLACK_WEBHOOK }}

0 commit comments

Comments
 (0)