Skip to content

Commit 07dcf3f

Browse files
authored
Update, publish artifact on GitHub.com
1 parent 0ed5323 commit 07dcf3f

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/rust.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,17 @@ jobs:
2828
run: cargo package # publishes a package as a tarball
2929
- name: "Publish to crates.io"
3030
run: cargo publish # publishes your crate as a library that can be added as a dependency
31+
- name: Upload release artifact
32+
uses: actions/upload-artifact@v4
33+
with:
34+
name: topalias-rust
35+
path: target/${{ matrix.BUILD_TARGET }}/topalias-rust
36+
- uses: actions/checkout@v4
37+
- name: Download release artifact
38+
uses: actions/download-artifact@v4
39+
with:
40+
name: topalias-rust
41+
path: .topalias-rust
42+
- name: Publish built binary to GitHub releases
43+
- run: |
44+
gh release create --generate-notes ./topalias-rust/topalias-rust#topalias-rust

0 commit comments

Comments
 (0)