Skip to content

Commit d814f9a

Browse files
authored
Update rust.yml workflow
1 parent fe36d9a commit d814f9a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/rust.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
- uses: actions/checkout@v4
1818
with:
1919
submodules: true
20+
- name: Install Protoc
21+
uses: arduino/setup-protoc@v3
2022
# Update references
2123
- name: Git Submodule Update
2224
run: |
@@ -31,3 +33,12 @@ jobs:
3133
run: cargo build --verbose
3234
- name: Run tests
3335
run: cargo test --verbose
36+
- name: Upload artifact
37+
uses: actions/upload-artifact@v4
38+
with:
39+
name: Binary
40+
retention-days: 5
41+
overwrite: true
42+
path: |
43+
${{ steps.compile.outputs.BUILT_ARCHIVE }}
44+
${{ steps.compile.outputs.BUILT_CHECKSUM }}

0 commit comments

Comments
 (0)