Bump GH Workflows

This commit is contained in:
Jack 2024-12-28 23:47:45 +08:00
parent f5f2d9c685
commit 35aa9ffe2d
2 changed files with 7 additions and 7 deletions

View File

@ -27,13 +27,13 @@ jobs:
os: macos-latest
arch: arm64
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Compile ${{ matrix.prog }}
working-directory: ${{ matrix.prog }}
run: make PROJECT_PLATFORM_ARCH=${{ matrix.arch }} deps all
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.prog }}-${{ matrix.dist }}
path: ./${{ matrix.prog }}/bin/${{ matrix.prog }}
@ -57,14 +57,14 @@ jobs:
configuration: Release
build_path: Release
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.1
uses: microsoft/setup-msbuild@v1.3
- name: Compile ${{ matrix.prog }}
run: msbuild .\${{ matrix.prog }}\build\visualstudio\${{ matrix.prog }}.sln /p:configuration=${{ matrix.configuration }} /p:platform=${{ matrix.platform }}
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.prog }}-${{ matrix.dist }}
path: .\${{ matrix.prog }}\build\visualstudio\${{ matrix.build_path }}\${{ matrix.prog }}.exe

View File

@ -32,13 +32,13 @@ jobs:
arch: x86_64
binExt: .exe
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Compile ${{ matrix.prog }}
working-directory: ${{ matrix.prog }}
run: make PROJECT_PLATFORM_ARCH=${{ matrix.arch }} deps all
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.prog }}-${{ matrix.dist }}
path: ./${{ matrix.prog }}/bin/${{ matrix.prog }}${{ matrix.binExt }}