File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Publish Major Tag
2+
3+ on :
4+ release :
5+ types :
6+ - published
7+ workflow_dispatch :
8+ inputs :
9+ tag_name :
10+ description : |
11+ Tag name that the major tag will point to. Examples: v1.2.3, 1.2.3
12+ required : true
13+ type : string
14+
15+ permissions : {}
16+
17+ jobs :
18+ publish :
19+ runs-on : ubuntu-latest
20+ steps :
21+ - name : Create GitHub App Token
22+ uses : actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1
23+ id : app-token
24+ with :
25+ client-id : ${{ vars.TASTENDRUCK_CLIENT_ID }}
26+ private-key : ${{ secrets.TASTENDRUCK_PRIVATE_KEY }}
27+ permission-contents : write
28+ permission-workflows : write
29+
30+ - uses : actions/publish-action@23f4c6f12633a2da8f44938b71fde9afec138fb4 # v0.4.0
31+ with :
32+ token : ${{ steps.app-token.outputs.token }}
33+ source-tag : ${{ inputs.tag_name || github.event.release.tag_name }}
You can’t perform that action at this time.
0 commit comments