Skip to content

Commit f53963a

Browse files
committed
Update build.yaml
1 parent 110a4f8 commit f53963a

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

.github/workflows/build.yaml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)