File tree Expand file tree Collapse file tree 1 file changed +13
-15
lines changed Expand file tree Collapse file tree 1 file changed +13
-15
lines changed Original file line number Diff line number Diff line change 66 - ' *'
77
88jobs :
9- createrelease :
10- name : createrelease
11- runs-on : ubuntu-latest
12- if : startsWith(github.ref, 'refs/tags/')
9+ tagged-release :
10+ name : " Tagged Release "
11+ runs-on : " ubuntu-latest"
12+
1313 steps :
14- - name : Check out code
15- uses : actions/checkout@v4
16- - name : create release
14+ - uses : " marvinpinto/action-automatic-releases@latest"
1715 id : create_release
18- uses : actions/create-release@v1
19- env :
20- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2116 with :
22- tag_name : ${{ github.ref }}
23- release_name : ${{ github.ref }}
24- draft : true
17+ repo_token : " ${{ secrets.GITHUB_TOKEN }}"
2518 prerelease : false
19+ draft : true
20+
2621 - name : Output Release URL File
2722 run : echo "${{ steps.create_release.outputs.upload_url }}" > release_url.txt
23+
2824 - name : Save Release URL file for publish
2925 uses : actions/upload-artifact@v3
3026 with :
3127 name : release_url
3228 path : release_url.txt
29+
3330 -
uses :
little-core-labs/[email protected] 3431 id : tagName
32+
3533 - name : Output git tag
3634 run : echo "${{ steps.tagName.outputs.tag }}" > git_tag.txt
35+
3736 - name : Save git tag file for publish
3837 uses : actions/upload-artifact@v3
3938 with :
4039 name : git_tag
4140 path : git_tag.txt
4241
43-
4442 build_and_upload :
45- needs : createrelease
43+ needs : tagged-release
4644 name : build_and_upload
4745 runs-on : ubuntu-latest
4846 steps :
You can’t perform that action at this time.
0 commit comments