Skip to content

Commit

Permalink
Upload artifact on build
Browse files Browse the repository at this point in the history
  • Loading branch information
PolpOnline committed Nov 15, 2024
1 parent 0182ead commit 2985979
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Rust Clippy
name: Rust

on: [push, pull_request]

Expand All @@ -9,4 +9,11 @@ jobs:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: Run Clippy
run: cargo clippy -- -D warnings
run: cargo clippy -- -D warnings
- name: Build
run: cargo build --release
- name: Upload Build Artifact
uses: actions/upload-artifact@v4
with:
name: gpu-usage-waybar
path: target/release/gpu-usage-waybar

0 comments on commit 2985979

Please sign in to comment.