build(ci): update workflow (#160)

This commit is contained in:
Edo 2023-12-01 15:49:41 +01:00 committed by GitHub
parent 030065f1de
commit 139f9ce55c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ jobs:
platform: x64
steps:
- name: Check out files
uses: actions/checkout@v3.5.3
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
@ -61,7 +61,7 @@ jobs:
run: msbuild /m /v:minimal /p:Configuration=${{matrix.config}} /p:Platform=${{matrix.platform}} build/gsc-tool.sln
- name: Upload ${{matrix.arch}} ${{matrix.config}} binaries
uses: actions/upload-artifact@v3.1.2
uses: actions/upload-artifact@v3.1.3
with:
name: windows-${{matrix.arch}}-${{matrix.config}}
path: |
@ -80,7 +80,7 @@ jobs:
- arm64
steps:
- name: Check out files
uses: actions/checkout@v3.5.3
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
@ -103,7 +103,7 @@ jobs:
make config=${{matrix.config}}_${{matrix.arch}} -j$(sysctl -n hw.logicalcpu)
- name: Upload ${{matrix.arch}} ${{matrix.config}} binaries
uses: actions/upload-artifact@v3.1.2
uses: actions/upload-artifact@v3.1.3
with:
name: macos-${{matrix.arch}}-${{matrix.config}}
path: |
@ -122,7 +122,7 @@ jobs:
- arm64
steps:
- name: Check out files
uses: actions/checkout@v3.5.3
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
@ -154,7 +154,7 @@ jobs:
CXX: clang++
- name: Upload ${{matrix.arch}} ${{matrix.config}} binaries
uses: actions/upload-artifact@v3.1.2
uses: actions/upload-artifact@v3.1.3
with:
name: linux-${{matrix.arch}}-${{matrix.config}}
path: |
@ -167,7 +167,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/') && (github.event.base_ref == 'refs/heads/prod' || github.event.base_ref == 'refs/heads/dev')
steps:
- name: Check out files
uses: actions/checkout@v3.5.3
uses: actions/checkout@v4
- name: Download Binaries
uses: actions/download-artifact@v3.0.2