File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -31,11 +31,19 @@ jobs:
3131 name : github-action-test
3232 path : target/${{ matrix.BUILD_TARGET }}/github-action-test
3333
34+ release :
35+ needs : build
36+ runs-on : ubuntu-latest
37+
38+ steps :
3439 - name : Download release artifact
3540 uses : actions/download-artifact@v4
36- with :
37- name : github-action-test
38- path : ./github-action-test
41+ with :
42+ name : github-action-test
43+ path : ./github-action-test
44+
3945 - name : Publish built binary to GitHub releases
40- - run : |
41- gh release create --generate-notes ./github-action-test/github-action-test-project#github-action-test
46+ env :
47+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
48+ run : |
49+ gh release create v1.0.0 ./github-action-test/github-action-test --title "Release v1.0.0" --notes "Automated release"
You can’t perform that action at this time.
0 commit comments