Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4bc8754

Browse files
authoredOct 22, 2024··
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
 
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/publish-action@v0.3.0
21+
with:
22+
source-tag: ${{ env.TAG_NAME }}
23+
slack-webhook: ${{ secrets.SLACK_WEBHOOK }}

0 commit comments

Comments
 (0)
Please sign in to comment.