Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0cf603f

Browse filesBrowse files
add release.yml for v1 (actions#635)
1 parent 0f07f7f commit 0cf603f
Copy full SHA for 0cf603f

File tree

Expand file treeCollapse file tree

1 file changed

+28
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+28
-0
lines changed
+28Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.