Skip to content

Commit

Permalink
CI: Update upload-artifact action
Browse files Browse the repository at this point in the history
  • Loading branch information
dimtpap committed Jul 13, 2024
1 parent e790645 commit 6dc4adf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
run: cargo install cargo-deb cargo-generate-rpm
- name: Build
run: cargo build --release --verbose --all-features
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
name: Upload binary
with:
name: coppwr
Expand All @@ -114,14 +114,14 @@ jobs:
mkdir .cargo
cargo vendor -v > .cargo/config.toml
tar --exclude='out' --exclude='.git*' --exclude='coppwr/pipewire' --exclude='coppwr/target' --transform "s|coppwr|$NAME|" -zcvf out/"$NAME"-vendor.tar.gz -C .. coppwr/
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
name: Upload packages
with:
name: coppwr-deb-rpm
path: |
out/*.deb
out/*.rpm
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
name: Upload vendor archive
with:
name: coppwr-vendor
Expand Down

0 comments on commit 6dc4adf

Please sign in to comment.