Skip to content

Commit

Permalink
CI: Updated actions/checkout and actions/upload-artifact
Browse files Browse the repository at this point in the history
Addresses warnings of Node.js 16 actions being deprecated and
actions/upload-artifactv1, v2 and v3 being deprecated.
  • Loading branch information
bjorn committed Apr 23, 2024
1 parent 22c364f commit 1431958
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,47 +17,47 @@ jobs:
build-ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- run: cargo build --verbose --release
- run: cargo install cargo-packager --locked
- run: cargo packager --release
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Raccoin.AppImage
path: target/release/raccoin_*.AppImage
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Raccoin.deb
path: target/release/raccoin_*.deb

build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- run: cargo build --verbose --release
- run: cargo install cargo-packager --locked
- run: cargo packager --release
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Raccoin-setup.exe
path: target/release/raccoin_*-setup.exe

build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- run: cargo build --verbose --release
- run: cargo install cargo-packager --locked
- run: cargo packager --release
- run: ditto -c -k --sequesterRsrc --keepParent target/release/Raccoin.app Raccoin.app.zip
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Raccoin.app
path: Raccoin.app.zip
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Raccoin.dmg
path: target/release/Raccoin_*.dmg

0 comments on commit 1431958

Please sign in to comment.