Skip to content

Commit 49f2301

Browse files
committed
feature: creating a new workflow to upload artifacts on release
1 parent 8f5bb21 commit 49f2301

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/release-binary.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: release binaries
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
env:
8+
CARGO_TERM_COLOR: always
9+
10+
jobs:
11+
build:
12+
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Build
18+
run: cargo build --release
19+
- uses: actions/upload-artifact@v2
20+
with:
21+
name: binary
22+
path: ./target/release/anonvalidator

0 commit comments

Comments
 (0)