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 0066b88

Browse filesBrowse files
Add a workflow to release a new version of the action (actions#274)
1 parent 280924f commit 0066b88
Copy full SHA for 0066b88

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+27
-0
lines changed
+27Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Release new action version
2+
on:
3+
release:
4+
types: [released]
5+
workflow_dispatch:
6+
inputs:
7+
TAG_NAME:
8+
description: 'Tag name that the major tag will point to'
9+
required: true
10+
11+
env:
12+
TAG_NAME: ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }}
13+
permissions:
14+
contents: write
15+
16+
jobs:
17+
update_tag:
18+
name: Update the major tag to include the ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }} changes
19+
environment:
20+
name: releaseNewActionVersion
21+
runs-on: ubuntu-latest
22+
steps:
23+
- name: Update the ${{ env.TAG_NAME }} tag
24+
uses: actions/publish-action@v0.1.0
25+
with:
26+
source-tag: ${{ env.TAG_NAME }}
27+
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.