From 14319581bccaeff05170a5941c95c1bf62a6f998 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorbj=C3=B8rn=20Lindeijer?= Date: Tue, 23 Apr 2024 16:42:05 +0200 Subject: [PATCH] CI: Updated actions/checkout and actions/upload-artifact Addresses warnings of Node.js 16 actions being deprecated and actions/upload-artifactv1, v2 and v3 being deprecated. --- .github/workflows/rust.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 09d617b..b5b466d 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -17,16 +17,16 @@ 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 @@ -34,12 +34,12 @@ jobs: 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 @@ -47,17 +47,17 @@ jobs: 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