chore: bump `actions/*-artifact`

Breaking changes: See https://github.com/actions/download-artifact/releases/tag/v4.0.0
This commit is contained in:
Yat Ho 2024-03-04 15:03:23 +08:00
parent 6d7b2436e0
commit 3b3bef68bd
2 changed files with 15 additions and 15 deletions

View File

@ -102,7 +102,7 @@ jobs:
cat style.diff
set -e
- name: Upload Diffs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: ${{ steps.check-for-diffs.outputs.differs == '1' }}
with:
name: code-style.diff
@ -282,7 +282,7 @@ jobs:
run: cmake -E chdir obj ctest -j $(sysctl -n hw.logicalcpu) --build-config RelWithDebInfo --output-on-failure
- name: Install
run: cmake --build obj --config RelWithDebInfo --target install/strip
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: binaries-${{ github.job }}
path: pfx/**/*
@ -357,7 +357,7 @@ jobs:
run: cmake -E chdir obj ctest -j $(nproc) --build-config RelWithDebInfo --output-on-failure
- name: Install
run: cmake --build obj --config RelWithDebInfo --target install/strip
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: binaries-${{ github.job }}
path: pfx/**/*
@ -454,11 +454,11 @@ jobs:
run: |
Import-VisualStudioVars -VisualStudioVersion 2022 -Architecture ${{ matrix.arch }}
cmake --build obj --config RelWithDebInfo --target pack-msi
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: binaries-${{ github.job }}-${{ matrix.arch }}
path: pfx/**/*
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: binaries-${{ github.job }}-${{ matrix.arch }}-msi
path: obj/dist/msi/*.msi
@ -496,7 +496,7 @@ jobs:
-G Ninja
- name: Create source tarball
run: cmake --build obj --target package_source
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: source-tarball
path: obj/transmission*.tar.*
@ -521,7 +521,7 @@ jobs:
if: ${{ needs.what-to-make.outputs.make-qt == 'true' }}
run: brew install qt
- name: Get Source
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: source-tarball
- name: Extract Source
@ -563,7 +563,7 @@ jobs:
run: cmake -E chdir obj ctest -j $(sysctl -n hw.logicalcpu) --build-config RelWithDebInfo --output-on-failure
- name: Install
run: cmake --build obj --config RelWithDebInfo --target install/strip
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: binaries-${{ github.job }}
path: pfx/**/*
@ -610,7 +610,7 @@ jobs:
if: ${{ needs.what-to-make.outputs.make-qt == 'true' }}
run: apt-get install -y --no-install-recommends qtbase5-dev libqt5svg5-dev qttools5-dev
- name: Get Source
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: source-tarball
- name: Extract Source
@ -640,7 +640,7 @@ jobs:
run: cmake -E chdir obj ctest -j $(nproc) --build-config RelWithDebInfo --output-on-failure
- name: Install
run: cmake --build obj --config RelWithDebInfo --target install/strip
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: binaries-${{ github.job }}
path: pfx/**/*
@ -686,7 +686,7 @@ jobs:
if: ${{ needs.what-to-make.outputs.make-qt == 'true' }}
run: dnf install -y qt6-qtbase-devel qt6-qtsvg-devel qt6-qttools-devel
- name: Get Source
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: source-tarball
- name: Extract Source
@ -717,7 +717,7 @@ jobs:
run: cmake -E chdir obj ctest -j $(nproc) --build-config RelWithDebInfo --output-on-failure
- name: Install
run: cmake --build obj --config RelWithDebInfo --target install/strip
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: binaries-${{ github.job }}
path: pfx/**/*
@ -759,7 +759,7 @@ jobs:
if: ${{ needs.what-to-make.outputs.make-qt == 'true' }}
run: sudo apt-get install -y --no-install-recommends qtbase5-dev libqt5svg5-dev qttools5-dev
- name: Get Source
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: source-tarball
- name: Extract Source
@ -791,7 +791,7 @@ jobs:
run: cmake -E chdir obj ctest -j $(nproc) --build-config RelWithDebInfo --output-on-failure
- name: Install
run: cmake --build obj --config RelWithDebInfo --target install/strip
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: binaries-${{ github.job }}
path: pfx/**/*

View File

@ -79,7 +79,7 @@ jobs:
echo ===
set -e # undo set +e
- name: Upload diffs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ steps.check-for-diffs.outputs.differs == '1' }}
with:
name: code-style.diff