diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index d33e4ea..a01a863 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -23,9 +23,9 @@ jobs: - os: ubuntu-latest binary_path: target/debug/dezoomify-rs steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Cache cargo dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.cargo/registry @@ -33,7 +33,7 @@ jobs: target key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - run: cargo build --locked - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: dezoomify-rs ${{ matrix.os }} path: ${{ matrix.binary_path }} diff --git a/.github/workflows/optimized-builds.yml b/.github/workflows/optimized-builds.yml index abe458b..00ab1a2 100644 --- a/.github/workflows/optimized-builds.yml +++ b/.github/workflows/optimized-builds.yml @@ -20,8 +20,8 @@ jobs: - os: ubuntu-20.04 binary_path: target/release/dezoomify-rs steps: - - uses: actions/checkout@v3 - - uses: actions/cache@v3 + - uses: actions/checkout@v4 + - uses: actions/cache@v4 with: path: | ~/.cargo/registry @@ -29,7 +29,7 @@ jobs: target key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - run: cargo build --release --locked - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: dezoomify-rs ${{ matrix.os }} path: ${{ matrix.binary_path }} @@ -39,8 +39,8 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 - - uses: actions/download-artifact@v3 + uses: actions/checkout@v4 + - uses: actions/download-artifact@v4 - run: cd 'dezoomify-rs macos-latest' && chmod +x dezoomify-rs && tar --create --file dezoomify-rs-macos.tgz --gzip dezoomify-rs ../README-MACOS.txt - run: cd 'dezoomify-rs ubuntu-20.04' && chmod +x dezoomify-rs && tar --create --file dezoomify-rs-linux.tgz --gzip dezoomify-rs - name: Create Release