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

View File

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

View File

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

View File

@ -16,7 +16,7 @@ jobs:
outputs:
clang-format: ${{ steps.filter.outputs.clang-format }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v2
id: filter
with:
@ -35,7 +35,7 @@ jobs:
if: ${{ needs.changes.outputs.clang-format == 'true' }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- 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