Skip to content

Commit 9fa1c67

Browse files
committed
Add automatic release from actions/setup-dotnet
1 parent 3ec05d7 commit 9fa1c67

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/release.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Copyright (c) 2018 GitHub, Inc. and contributors
2+
3+
name: Release new action version
4+
on:
5+
release:
6+
types: [released]
7+
workflow_dispatch:
8+
inputs:
9+
TAG_NAME:
10+
description: 'Tag name that the major tag will point to'
11+
required: true
12+
13+
env:
14+
TAG_NAME: ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }}
15+
permissions:
16+
contents: write
17+
18+
jobs:
19+
update_tag:
20+
name: Update the major tag to include the ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }} changes
21+
runs-on: ubuntu-latest
22+
steps:
23+
- name: Update the ${{ env.TAG_NAME }} tag
24+
uses: actions/[email protected]
25+
with:
26+
source-tag: ${{ env.TAG_NAME }}

0 commit comments

Comments
 (0)