mirror of
https://github.com/lifegpc/pixiv_downloader.git
synced 2026-06-06 05:49:01 +08:00
Bump versions for CI
This commit is contained in:
28
.github/workflows/CI.yml
vendored
28
.github/workflows/CI.yml
vendored
@@ -23,7 +23,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Check Out
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
- name: Build
|
||||
run: cargo build -vv
|
||||
- name: Run tests
|
||||
@@ -32,7 +32,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check Out
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
submodules: true
|
||||
@@ -43,7 +43,7 @@ jobs:
|
||||
python3 get_cache_key.py exiv2 || exit 1
|
||||
- name: Cache
|
||||
id: cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: clib/
|
||||
key: ${{ runner.os }}-${{ steps.cache_key.outputs.cache_key }}
|
||||
@@ -65,7 +65,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check Out
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
submodules: true
|
||||
@@ -76,7 +76,7 @@ jobs:
|
||||
python3 get_cache_key.py libzip x264 ffmpeg || exit 1
|
||||
- name: Cache
|
||||
id: cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: clib/
|
||||
key: ${{ runner.os }}-${{ steps.cache_key.outputs.cache_key }}
|
||||
@@ -109,7 +109,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check Out
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
- name: Build
|
||||
run: cargo build --features server,db_sqlite -vv
|
||||
- name: Run tests
|
||||
@@ -118,7 +118,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check Out
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
- name: Build
|
||||
run: cargo build --features db_all -vv
|
||||
- name: Run tests
|
||||
@@ -127,7 +127,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check Out
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
submodules: true
|
||||
@@ -138,7 +138,7 @@ jobs:
|
||||
python3 get_cache_key.py exiv2 libzip x264 ffmpeg || exit 1
|
||||
- name: Cache
|
||||
id: cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: clib/
|
||||
key: ${{ runner.os }}-${{ steps.cache_key.outputs.cache_key }}
|
||||
@@ -175,7 +175,7 @@ jobs:
|
||||
shell: cmd
|
||||
steps:
|
||||
- name: Check Out
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
submodules: true
|
||||
@@ -186,7 +186,7 @@ jobs:
|
||||
python get_cache_key.py --prefix=win zlib pkgconf expat exiv2 openssl libzip x264 ffmpeg || exit 1
|
||||
- name: Cache
|
||||
id: cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: clib/
|
||||
key: win-${{ steps.cache_key.outputs.cache_key }}
|
||||
@@ -201,7 +201,7 @@ jobs:
|
||||
uses: ilammy/msvc-dev-cmd@v1
|
||||
- name: Set up NASM
|
||||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
uses: ilammy/setup-nasm@v1.3.0
|
||||
uses: ilammy/setup-nasm@v1
|
||||
- name: Setup MSYS2
|
||||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
uses: msys2/setup-msys2@v2
|
||||
@@ -282,13 +282,13 @@ jobs:
|
||||
python scripts\pack_prog.py -o pixiv_downloader.pdb.7z -p %CD%/target/release-with-debug/pixiv_downloader.exe || exit 1
|
||||
- name: Upload files
|
||||
continue-on-error: true
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: pixiv_downloader
|
||||
path: ./pixiv_downloader.7z
|
||||
- name: Upload pdb files
|
||||
continue-on-error: true
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: pixiv_downloader-pdb
|
||||
path: ./pixiv_downloader.pdb.7z
|
||||
|
||||
Reference in New Issue
Block a user