Skip to content

Commit ee25450

Browse files
committed
update gh actions
1 parent 4072adc commit ee25450

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

.github/workflows/CI.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@ jobs:
2323
- os: ubuntu-latest
2424
binary_path: target/debug/dezoomify-rs
2525
steps:
26-
- uses: actions/checkout@v3
26+
- uses: actions/checkout@v4
2727
- name: Cache cargo dependencies
28-
uses: actions/cache@v3
28+
uses: actions/cache@v4
2929
with:
3030
path: |
3131
~/.cargo/registry
3232
~/.cargo/git
3333
target
3434
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
3535
- run: cargo build --locked
36-
- uses: actions/upload-artifact@v3
36+
- uses: actions/upload-artifact@v4
3737
with:
3838
name: dezoomify-rs ${{ matrix.os }}
3939
path: ${{ matrix.binary_path }}

.github/workflows/optimized-builds.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,25 @@ jobs:
1111
runs-on: ${{ matrix.os }}
1212
strategy:
1313
matrix:
14-
os: [macos-latest, windows-latest, ubuntu-20.04]
14+
os: [macos-latest, windows-latest, ubuntu-22.04]
1515
include:
1616
- os: windows-latest
1717
binary_path: target/release/dezoomify-rs.exe
1818
- os: macos-latest
1919
binary_path: target/release/dezoomify-rs
20-
- os: ubuntu-20.04
20+
- os: ubuntu-22.04
2121
binary_path: target/release/dezoomify-rs
2222
steps:
23-
- uses: actions/checkout@v3
24-
- uses: actions/cache@v3
23+
- uses: actions/checkout@v4
24+
- uses: actions/cache@v4
2525
with:
2626
path: |
2727
~/.cargo/registry
2828
~/.cargo/git
2929
target
3030
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
3131
- run: cargo build --release --locked
32-
- uses: actions/upload-artifact@v3
32+
- uses: actions/upload-artifact@v4
3333
with:
3434
name: dezoomify-rs ${{ matrix.os }}
3535
path: ${{ matrix.binary_path }}
@@ -39,19 +39,19 @@ jobs:
3939
runs-on: ubuntu-latest
4040
steps:
4141
- name: Checkout code
42-
uses: actions/checkout@v3
43-
- uses: actions/download-artifact@v3
42+
uses: actions/checkout@v4
43+
- uses: actions/download-artifact@v4
4444
- run: cd 'dezoomify-rs macos-latest' && chmod +x dezoomify-rs && tar --create --file dezoomify-rs-macos.tgz --gzip dezoomify-rs ../README-MACOS.txt
45-
- run: cd 'dezoomify-rs ubuntu-20.04' && chmod +x dezoomify-rs && tar --create --file dezoomify-rs-linux.tgz --gzip dezoomify-rs
45+
- run: cd 'dezoomify-rs ubuntu-22.04' && chmod +x dezoomify-rs && tar --create --file dezoomify-rs-linux.tgz --gzip dezoomify-rs
4646
- name: Create Release
4747
id: create_release
48-
uses: softprops/action-gh-release@v1
48+
uses: softprops/action-gh-release@v2
4949
with:
5050
name: ${{ github.ref_name }}
5151
tag_name: ${{ github.ref_name }}
5252
draft: false
5353
prerelease: ${{ !startsWith(github.ref, 'refs/tags/v') }}
5454
files: |
5555
dezoomify-rs windows-latest/dezoomify-rs.exe
56-
dezoomify-rs ubuntu-20.04/dezoomify-rs-linux.tgz
56+
dezoomify-rs ubuntu-22.04/dezoomify-rs-linux.tgz
5757
dezoomify-rs macos-latest/dezoomify-rs-macos.tgz

0 commit comments

Comments
 (0)