CI: Bump action versions

This commit is contained in:
SupSuper 2024-05-20 10:16:05 +01:00
parent cb83247d61
commit 04110fd100

View File

@ -36,20 +36,20 @@ jobs:
contents: write # For dependencygraph
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- uses: ilammy/setup-nasm@v1
if: ${{ matrix.useNasm }} == 'true'
if: matrix.useNasm == 'true'
- name: Install vcpkg
uses: lukka/run-vcpkg@v11
id: runvcpkg
with:
vcpkgGitCommitId: 56954f1db97f38635782d5ad7cdfd45d2731c854
vcpkgGitCommitId: 943c5ef1c8f6b5e6ced092b242c8299caae2ff01
- name: Integrate vcpkg
run: |
${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_ROOT_OUT }}/vcpkg integrate install
- name: Upload libs
uses: actions/upload-artifact@v3
if: ${{ matrix.buildArtifacts }} == 'true'
uses: actions/upload-artifact@v4
if: matrix.buildArtifacts == 'true'
with:
name: libs-${{ matrix.triplet }}
path: ${{ env.VCPKG_INSTALLED_DIR }}\\${{ matrix.triplet }}
@ -67,33 +67,33 @@ jobs:
../devtools/create_project/cmake/Debug/create_project.exe .. --msvc --vcpkg --enable-all-engines ${{ matrix.configFlags }}
ls
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.1.3
uses: microsoft/setup-msbuild@v2
- name: Build scummvm
run: |
cd build-scummvm
ls
msbuild scummvm.sln /m /p:VcpkgEnableManifest=true /p:BuildInParallel=true /p:Configuration=${{ env.CONFIGURATION }} /p:PreferredToolArchitecture=x64 /p:Platform=${{ matrix.platform }} /v:minimal
- name: Upload scummvm
uses: actions/upload-artifact@v3
if: ${{ matrix.buildArtifacts }} == 'true'
uses: actions/upload-artifact@v4
if: matrix.buildArtifacts == 'true'
with:
name: scummvm-${{ matrix.arch }}
path: build-scummvm/${{ env.CONFIGURATION }}${{ matrix.arch }}/*.exe
- name: Upload scummvm libs
uses: actions/upload-artifact@v3
if: ${{ matrix.buildArtifacts }} == 'true'
uses: actions/upload-artifact@v4
if: matrix.buildArtifacts == 'true'
with:
name: scummvm-${{ matrix.arch }}
path: ${{ env.VCPKG_INSTALLED_DIR }}\\${{ matrix.triplet }}\\bin\\*.dll
- name: Upload scummvm symbols
uses: actions/upload-artifact@v3
if: ${{ matrix.buildArtifacts }} == 'true'
uses: actions/upload-artifact@v4
if: matrix.buildArtifacts == 'true'
with:
name: symbols-${{ matrix.arch }}
path: build-scummvm/${{ env.CONFIGURATION }}${{ matrix.arch }}/*.pdb
- name: Upload scummvm libs symbols
uses: actions/upload-artifact@v3
if: ${{ matrix.buildArtifacts }} == 'true'
uses: actions/upload-artifact@v4
if: matrix.buildArtifacts == 'true'
with:
name: symbols-${{ matrix.arch }}
path: ${{ env.VCPKG_INSTALLED_DIR }}\\${{ matrix.triplet }}\\bin\\*.pdb
@ -122,7 +122,7 @@ jobs:
shell: bash
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install packages
if: ${{ matrix.brewPackages }}
run: brew install ${{ matrix.brewPackages }}