File tree Expand file tree Collapse file tree 1 file changed +19
-2
lines changed
Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Original file line number Diff line number Diff line change 55 types : [tag_created]
66
77jobs :
8- triggered_job :
8+ generate_api_job :
9+ name : Generate API & GitHub push
910 runs-on : ubuntu-latest
1011
1112 permissions :
4243 run : |
4344 git add .
4445 git commit -m "${{ github.event.client_payload.tag }}"
45- git push https://x-access-token:${{ secrets.PAT }}@github.com/${{ github.repository }}.git
46+ git push https://x-access-token:${{ secrets.PAT }}@github.com/${{ github.repository }}.git
47+
48+ release :
49+ name : Release
50+ needs : generate_api_job
51+ runs-on : ubuntu-latest
52+
53+ steps :
54+ - name : Checkout repository
55+ uses : actions/checkout@v4
56+
57+ - name : Publish GitHub Release
58+ uses : marvinpinto/action-automatic-releases@latest
59+ with :
60+ repo_token : ${{ secrets.PAT }}
61+ prerelease : false
62+ automatic_release_tag : ${{ github.event.client_payload.tag }}
You can’t perform that action at this time.
0 commit comments