Skip to content

Commit

Permalink
Upload build artifacts in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ryze312 committed Jul 2, 2024
1 parent fb24a3d commit eb6cbb3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build_statusng.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Build statusng

on:
workflow_dispatch:
push:
branches: [ "mane" ]
paths: [ "statusng/**" ]
Expand All @@ -27,5 +28,10 @@ jobs:
- uses: actions/checkout@v4
- name: Build
run: cargo build --profile ${{ matrix.profile }} --verbose
- name: Upload build
uses: actions/upload-artifact@v4
with:
name: statusng-linux-${{ matrix.profile }}
path: statusng/target/${{ matrix.profile == 'dev' && 'debug' || matrix.profile }}/statusng
- name: Check
run: cargo clippy --profile ${{ matrix.profile }} -- -D warnings

0 comments on commit eb6cbb3

Please sign in to comment.