build(ci): update workflow (#160)
This commit is contained in:
parent
5ac36a1ad5
commit
0ff101d2b9
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user