Skip to content

Commit 813fd62

Browse files
golang release action (#318)
1 parent 3e823ad commit 813fd62

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: "Golang (release)"
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
packageVersion:
7+
description: 'Version to build'
8+
required: true
9+
default: 'v1.0.0'
10+
workflow_run:
11+
workflows: ["Release Platform Libraries"]
12+
branches: ["main", "v?.*"]
13+
types:
14+
- completed
15+
16+
jobs:
17+
publish_go_tag:
18+
name: Tag golnag
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/checkout@v2
22+
- name: Create tag
23+
run: |
24+
git tag "go/${{ github.event.inputs.packageVersion }}" master
25+
git push "go/${{ github.event.inputs.packageVersion }}" origin

0 commit comments

Comments
 (0)