ci: bump CI actions (#6666)
* chore: bump `peter-evans/create-pull-request`
* chore: bump `actions/checkout`
Breaking changes:
- Bump Node.js runtime to version 20
* chore: bump `actions/*-artifact`
Breaking changes: See https://github.com/actions/download-artifact/releases/tag/v4.0.0
* chore: bump `actions/cache`
Breaking changes:
- Bump Node.js runtime to version 20
* chore: bump `actions/setup-java`
Breaking changes:
- Bump Node.js runtime to version 20
* chore: bump `gradle/gradle-build-action`
Breaking changes:
- Remove the gradle-executable input parameter
* chore: trigger CI
* Revert "chore: trigger CI"
This reverts commit 9f9987f201
.
This commit is contained in:
parent
efd6790973
commit
7a4677ebd2
|
@ -37,7 +37,7 @@ jobs:
|
||||||
fi
|
fi
|
||||||
- name: Get Source
|
- name: Get Source
|
||||||
id: get-source
|
id: get-source
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
path: src
|
path: src
|
||||||
|
@ -82,7 +82,7 @@ jobs:
|
||||||
echo '${{ toJSON(runner) }}'
|
echo '${{ toJSON(runner) }}'
|
||||||
cat /etc/os-release
|
cat /etc/os-release
|
||||||
- name: Get Source
|
- name: Get Source
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
- name: Get Dependencies
|
- name: Get Dependencies
|
||||||
|
@ -102,7 +102,7 @@ jobs:
|
||||||
cat style.diff
|
cat style.diff
|
||||||
set -e
|
set -e
|
||||||
- name: Upload Diffs
|
- name: Upload Diffs
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v4
|
||||||
if: ${{ steps.check-for-diffs.outputs.differs == '1' }}
|
if: ${{ steps.check-for-diffs.outputs.differs == '1' }}
|
||||||
with:
|
with:
|
||||||
name: code-style.diff
|
name: code-style.diff
|
||||||
|
@ -147,7 +147,7 @@ jobs:
|
||||||
ninja-build \
|
ninja-build \
|
||||||
npm
|
npm
|
||||||
- name: Get Source
|
- name: Get Source
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
path: src
|
path: src
|
||||||
|
@ -208,7 +208,7 @@ jobs:
|
||||||
ninja-build \
|
ninja-build \
|
||||||
npm
|
npm
|
||||||
- name: Get Source
|
- name: Get Source
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
path: src
|
path: src
|
||||||
|
@ -249,7 +249,7 @@ jobs:
|
||||||
if: ${{ needs.what-to-make.outputs.make-qt == 'true' }}
|
if: ${{ needs.what-to-make.outputs.make-qt == 'true' }}
|
||||||
run: brew install qt
|
run: brew install qt
|
||||||
- name: Get Source
|
- name: Get Source
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
path: src
|
path: src
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
@ -282,7 +282,7 @@ jobs:
|
||||||
run: cmake -E chdir obj ctest -j $(sysctl -n hw.logicalcpu) --build-config RelWithDebInfo --output-on-failure
|
run: cmake -E chdir obj ctest -j $(sysctl -n hw.logicalcpu) --build-config RelWithDebInfo --output-on-failure
|
||||||
- name: Install
|
- name: Install
|
||||||
run: cmake --build obj --config RelWithDebInfo --target install/strip
|
run: cmake --build obj --config RelWithDebInfo --target install/strip
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: binaries-${{ github.job }}
|
name: binaries-${{ github.job }}
|
||||||
path: pfx/**/*
|
path: pfx/**/*
|
||||||
|
@ -326,7 +326,7 @@ jobs:
|
||||||
if: ${{ needs.what-to-make.outputs.make-qt == 'true' }}
|
if: ${{ needs.what-to-make.outputs.make-qt == 'true' }}
|
||||||
run: apk add --upgrade qt5-qtbase-dev qt5-qtsvg-dev qt5-qttools-dev
|
run: apk add --upgrade qt5-qtbase-dev qt5-qtsvg-dev qt5-qttools-dev
|
||||||
- name: Get Source
|
- name: Get Source
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
path: src
|
path: src
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
@ -357,7 +357,7 @@ jobs:
|
||||||
run: cmake -E chdir obj ctest -j $(nproc) --build-config RelWithDebInfo --output-on-failure
|
run: cmake -E chdir obj ctest -j $(nproc) --build-config RelWithDebInfo --output-on-failure
|
||||||
- name: Install
|
- name: Install
|
||||||
run: cmake --build obj --config RelWithDebInfo --target install/strip
|
run: cmake --build obj --config RelWithDebInfo --target install/strip
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: binaries-${{ github.job }}
|
name: binaries-${{ github.job }}
|
||||||
path: pfx/**/*
|
path: pfx/**/*
|
||||||
|
@ -391,7 +391,7 @@ jobs:
|
||||||
|
|
||||||
Install-Module -Name Pscx -RequiredVersion 4.0.0-beta4 -AllowPrerelease -Force
|
Install-Module -Name Pscx -RequiredVersion 4.0.0-beta4 -AllowPrerelease -Force
|
||||||
- name: Get Source
|
- name: Get Source
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
path: src
|
path: src
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
@ -406,7 +406,7 @@ jobs:
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
- name: Get Cache
|
- name: Get Cache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
id: cache
|
id: cache
|
||||||
with:
|
with:
|
||||||
path: ${{ env.DEPS_PREFIX }}
|
path: ${{ env.DEPS_PREFIX }}
|
||||||
|
@ -454,11 +454,11 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
Import-VisualStudioVars -VisualStudioVersion 2022 -Architecture ${{ matrix.arch }}
|
Import-VisualStudioVars -VisualStudioVersion 2022 -Architecture ${{ matrix.arch }}
|
||||||
cmake --build obj --config RelWithDebInfo --target pack-msi
|
cmake --build obj --config RelWithDebInfo --target pack-msi
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: binaries-${{ github.job }}-${{ matrix.arch }}
|
name: binaries-${{ github.job }}-${{ matrix.arch }}
|
||||||
path: pfx/**/*
|
path: pfx/**/*
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: binaries-${{ github.job }}-${{ matrix.arch }}-msi
|
name: binaries-${{ github.job }}-${{ matrix.arch }}-msi
|
||||||
path: obj/dist/msi/*.msi
|
path: obj/dist/msi/*.msi
|
||||||
|
@ -484,7 +484,7 @@ jobs:
|
||||||
libssl-dev \
|
libssl-dev \
|
||||||
ninja-build
|
ninja-build
|
||||||
- name: Get Source
|
- name: Get Source
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
path: src
|
path: src
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
@ -496,7 +496,7 @@ jobs:
|
||||||
-G Ninja
|
-G Ninja
|
||||||
- name: Create source tarball
|
- name: Create source tarball
|
||||||
run: cmake --build obj --target package_source
|
run: cmake --build obj --target package_source
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: source-tarball
|
name: source-tarball
|
||||||
path: obj/transmission*.tar.*
|
path: obj/transmission*.tar.*
|
||||||
|
@ -521,7 +521,7 @@ jobs:
|
||||||
if: ${{ needs.what-to-make.outputs.make-qt == 'true' }}
|
if: ${{ needs.what-to-make.outputs.make-qt == 'true' }}
|
||||||
run: brew install qt
|
run: brew install qt
|
||||||
- name: Get Source
|
- name: Get Source
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: source-tarball
|
name: source-tarball
|
||||||
- name: Extract Source
|
- 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
|
run: cmake -E chdir obj ctest -j $(sysctl -n hw.logicalcpu) --build-config RelWithDebInfo --output-on-failure
|
||||||
- name: Install
|
- name: Install
|
||||||
run: cmake --build obj --config RelWithDebInfo --target install/strip
|
run: cmake --build obj --config RelWithDebInfo --target install/strip
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: binaries-${{ github.job }}
|
name: binaries-${{ github.job }}
|
||||||
path: pfx/**/*
|
path: pfx/**/*
|
||||||
|
@ -610,7 +610,7 @@ jobs:
|
||||||
if: ${{ needs.what-to-make.outputs.make-qt == 'true' }}
|
if: ${{ needs.what-to-make.outputs.make-qt == 'true' }}
|
||||||
run: apt-get install -y --no-install-recommends qtbase5-dev libqt5svg5-dev qttools5-dev
|
run: apt-get install -y --no-install-recommends qtbase5-dev libqt5svg5-dev qttools5-dev
|
||||||
- name: Get Source
|
- name: Get Source
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: source-tarball
|
name: source-tarball
|
||||||
- name: Extract Source
|
- name: Extract Source
|
||||||
|
@ -640,7 +640,7 @@ jobs:
|
||||||
run: cmake -E chdir obj ctest -j $(nproc) --build-config RelWithDebInfo --output-on-failure
|
run: cmake -E chdir obj ctest -j $(nproc) --build-config RelWithDebInfo --output-on-failure
|
||||||
- name: Install
|
- name: Install
|
||||||
run: cmake --build obj --config RelWithDebInfo --target install/strip
|
run: cmake --build obj --config RelWithDebInfo --target install/strip
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: binaries-${{ github.job }}
|
name: binaries-${{ github.job }}
|
||||||
path: pfx/**/*
|
path: pfx/**/*
|
||||||
|
@ -686,7 +686,7 @@ jobs:
|
||||||
if: ${{ needs.what-to-make.outputs.make-qt == 'true' }}
|
if: ${{ needs.what-to-make.outputs.make-qt == 'true' }}
|
||||||
run: dnf install -y qt6-qtbase-devel qt6-qtsvg-devel qt6-qttools-devel
|
run: dnf install -y qt6-qtbase-devel qt6-qtsvg-devel qt6-qttools-devel
|
||||||
- name: Get Source
|
- name: Get Source
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: source-tarball
|
name: source-tarball
|
||||||
- name: Extract Source
|
- name: Extract Source
|
||||||
|
@ -717,7 +717,7 @@ jobs:
|
||||||
run: cmake -E chdir obj ctest -j $(nproc) --build-config RelWithDebInfo --output-on-failure
|
run: cmake -E chdir obj ctest -j $(nproc) --build-config RelWithDebInfo --output-on-failure
|
||||||
- name: Install
|
- name: Install
|
||||||
run: cmake --build obj --config RelWithDebInfo --target install/strip
|
run: cmake --build obj --config RelWithDebInfo --target install/strip
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: binaries-${{ github.job }}
|
name: binaries-${{ github.job }}
|
||||||
path: pfx/**/*
|
path: pfx/**/*
|
||||||
|
@ -759,7 +759,7 @@ jobs:
|
||||||
if: ${{ needs.what-to-make.outputs.make-qt == 'true' }}
|
if: ${{ needs.what-to-make.outputs.make-qt == 'true' }}
|
||||||
run: sudo apt-get install -y --no-install-recommends qtbase5-dev libqt5svg5-dev qttools5-dev
|
run: sudo apt-get install -y --no-install-recommends qtbase5-dev libqt5svg5-dev qttools5-dev
|
||||||
- name: Get Source
|
- name: Get Source
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: source-tarball
|
name: source-tarball
|
||||||
- name: Extract Source
|
- name: Extract Source
|
||||||
|
@ -791,7 +791,7 @@ jobs:
|
||||||
run: cmake -E chdir obj ctest -j $(nproc) --build-config RelWithDebInfo --output-on-failure
|
run: cmake -E chdir obj ctest -j $(nproc) --build-config RelWithDebInfo --output-on-failure
|
||||||
- name: Install
|
- name: Install
|
||||||
run: cmake --build obj --config RelWithDebInfo --target install/strip
|
run: cmake --build obj --config RelWithDebInfo --target install/strip
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: binaries-${{ github.job }}
|
name: binaries-${{ github.job }}
|
||||||
path: pfx/**/*
|
path: pfx/**/*
|
||||||
|
@ -811,18 +811,18 @@ jobs:
|
||||||
ninja-build
|
ninja-build
|
||||||
|
|
||||||
- name: Get Source
|
- name: Get Source
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- name: Set up JDK 17
|
- name: Set up JDK 17
|
||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
java-version: '17'
|
java-version: '17'
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
|
|
||||||
- name: Setup Gradle
|
- name: Setup Gradle
|
||||||
uses: gradle/gradle-build-action@v2
|
uses: gradle/gradle-build-action@v3
|
||||||
with:
|
with:
|
||||||
gradle-version: 7.6
|
gradle-version: 7.6
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository and submodules
|
- name: Checkout repository and submodules
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ jobs:
|
||||||
update-generated-files: ${{ steps.check-diffs.outputs.web-changed == '1' && steps.check-main-push.outputs.is-main-push == '1'}}
|
update-generated-files: ${{ steps.check-diffs.outputs.web-changed == '1' && steps.check-main-push.outputs.is-main-push == '1'}}
|
||||||
steps:
|
steps:
|
||||||
- name: Get source
|
- name: Get source
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 2 # >1 needed for merge base
|
fetch-depth: 2 # >1 needed for merge base
|
||||||
- name: Check push-to-main
|
- name: Check push-to-main
|
||||||
|
@ -58,7 +58,7 @@ jobs:
|
||||||
if: ${{ needs.decide-what-jobs-to-run.outputs.test-style == 'true' }}
|
if: ${{ needs.decide-what-jobs-to-run.outputs.test-style == 'true' }}
|
||||||
steps:
|
steps:
|
||||||
- name: Get source
|
- name: Get source
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
- name: Get dependencies
|
- name: Get dependencies
|
||||||
run: |
|
run: |
|
||||||
set -e # abort if any command fails
|
set -e # abort if any command fails
|
||||||
|
@ -79,7 +79,7 @@ jobs:
|
||||||
echo ===
|
echo ===
|
||||||
set -e # undo set +e
|
set -e # undo set +e
|
||||||
- name: Upload diffs
|
- name: Upload diffs
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
if: ${{ steps.check-for-diffs.outputs.differs == '1' }}
|
if: ${{ steps.check-for-diffs.outputs.differs == '1' }}
|
||||||
with:
|
with:
|
||||||
name: code-style.diff
|
name: code-style.diff
|
||||||
|
@ -98,7 +98,7 @@ jobs:
|
||||||
if: ${{ needs.decide-what-jobs-to-run.outputs.test-generated-files == 'true' }}
|
if: ${{ needs.decide-what-jobs-to-run.outputs.test-generated-files == 'true' }}
|
||||||
steps:
|
steps:
|
||||||
- name: Get source
|
- name: Get source
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 2 # >1 needed for merge base
|
fetch-depth: 2 # >1 needed for merge base
|
||||||
- name: Check for changes to generated files
|
- name: Check for changes to generated files
|
||||||
|
@ -131,7 +131,7 @@ jobs:
|
||||||
set -e # abort if any command fails
|
set -e # abort if any command fails
|
||||||
sudo apt-get install -y npm
|
sudo apt-get install -y npm
|
||||||
- name: Get source
|
- name: Get source
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 2 # >1 needed for merge base
|
fetch-depth: 2 # >1 needed for merge base
|
||||||
- name: Generate webapp files
|
- name: Generate webapp files
|
||||||
|
@ -143,7 +143,7 @@ jobs:
|
||||||
git diff --name-only
|
git diff --name-only
|
||||||
git add --update web
|
git add --update web
|
||||||
- name: Create pull request
|
- name: Create pull request
|
||||||
uses: peter-evans/create-pull-request@v4
|
uses: peter-evans/create-pull-request@v6
|
||||||
with:
|
with:
|
||||||
branch: 'chore/update-webapp-files'
|
branch: 'chore/update-webapp-files'
|
||||||
commit-message: 'chore: update generated transmission-web files'
|
commit-message: 'chore: update generated transmission-web files'
|
||||||
|
|
Loading…
Reference in New Issue