Update GitHub Action versions (#3296)

This commit is contained in:
Anton Kochkov 2024-08-11 21:44:41 +08:00 committed by GitHub
parent c817c6b53f
commit 8a8a5b2cce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 13 additions and 13 deletions

View File

@ -97,7 +97,7 @@ jobs:
unset CMAKE_VERSION unset CMAKE_VERSION
unset GIT_VERSION unset GIT_VERSION
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
submodules: recursive submodules: recursive
persist-credentials: false persist-credentials: false
@ -160,7 +160,7 @@ jobs:
gcc-12 \ gcc-12 \
g++-12 g++-12
fi fi
- uses: actions/setup-python@v4 - uses: actions/setup-python@v5
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- name: py dependencies - name: py dependencies
@ -280,7 +280,7 @@ jobs:
echo PACKAGE_NAME=Cutter-${PACKAGE_ID}-src.tar.gz >> $GITHUB_ENV echo PACKAGE_NAME=Cutter-${PACKAGE_ID}-src.tar.gz >> $GITHUB_ENV
echo PACKAGE_PATH=Cutter-${PACKAGE_ID}-src.tar.gz >> $GITHUB_ENV echo PACKAGE_PATH=Cutter-${PACKAGE_ID}-src.tar.gz >> $GITHUB_ENV
echo UPLOAD_ASSET_TYPE=application/gzip >> $GITHUB_ENV echo UPLOAD_ASSET_TYPE=application/gzip >> $GITHUB_ENV
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
if: env.PACKAGE_NAME != null if: env.PACKAGE_NAME != null
with: with:
name: ${{ env.PACKAGE_NAME }} name: ${{ env.PACKAGE_NAME }}
@ -331,7 +331,7 @@ jobs:
# Prevent one job from pausing the rest # Prevent one job from pausing the rest
fail-fast: false fail-fast: false
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
submodules: recursive submodules: recursive
persist-credentials: false persist-credentials: false
@ -358,7 +358,7 @@ jobs:
qt-major: ${{ matrix.qt-major }} qt-major: ${{ matrix.qt-major }}
package: ${{ matrix.package }} package: ${{ matrix.package }}
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
if: env.PACKAGE_NAME != null if: env.PACKAGE_NAME != null
with: with:
name: ${{ steps.build.outputs.PACKAGE_NAME }} name: ${{ steps.build.outputs.PACKAGE_NAME }}
@ -409,11 +409,11 @@ jobs:
# Prevent one job from pausing the rest # Prevent one job from pausing the rest
fail-fast: false fail-fast: false
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
submodules: recursive submodules: recursive
persist-credentials: false persist-credentials: false
- uses: actions/setup-python@v4 - uses: actions/setup-python@v5
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- name: homebrew dependencies - name: homebrew dependencies
@ -517,7 +517,7 @@ jobs:
echo PACKAGE_NAME=%PACKAGE_NAME%.zip >> %GITHUB_ENV% echo PACKAGE_NAME=%PACKAGE_NAME%.zip >> %GITHUB_ENV%
echo PACKAGE_PATH=build/%PACKAGE_NAME%.zip >> %GITHUB_ENV% echo PACKAGE_PATH=build/%PACKAGE_NAME%.zip >> %GITHUB_ENV%
echo UPLOAD_ASSET_TYPE=application/zip >> %GITHUB_ENV% echo UPLOAD_ASSET_TYPE=application/zip >> %GITHUB_ENV%
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
if: env.PACKAGE_NAME != null if: env.PACKAGE_NAME != null
with: with:
name: ${{ env.PACKAGE_NAME }} name: ${{ env.PACKAGE_NAME }}

View File

@ -7,10 +7,10 @@ jobs:
latest: latest:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
submodules: recursive submodules: recursive
- uses: actions/setup-python@v4 - uses: actions/setup-python@v5
with: with:
python-version: 3.9.x python-version: 3.9.x

View File

@ -9,7 +9,7 @@ jobs:
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
submodules: recursive submodules: recursive
- name: install dependencies - name: install dependencies

View File

@ -16,7 +16,7 @@ jobs:
outputs: outputs:
clang-format: ${{ steps.filter.outputs.clang-format }} clang-format: ${{ steps.filter.outputs.clang-format }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: dorny/paths-filter@v2 - uses: dorny/paths-filter@v2
id: filter id: filter
with: with:
@ -35,7 +35,7 @@ jobs:
if: ${{ needs.changes.outputs.clang-format == 'true' }} if: ${{ needs.changes.outputs.clang-format == 'true' }}
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Install wget, software-properties-common, lsb-release (dependencies of LLVM install script) - name: Install wget, software-properties-common, lsb-release (dependencies of LLVM install script)
run: sudo apt --assume-yes install wget software-properties-common lsb-release run: sudo apt --assume-yes install wget software-properties-common lsb-release