maint: update build.yml

This commit is contained in:
6arelyFuture 2023-02-09 00:46:55 +00:00 committed by GitHub
parent 0d7bb71710
commit 206932838d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,14 +30,14 @@ jobs:
platform: x64
steps:
- name: Check out files
uses: actions/checkout@v3
uses: actions/checkout@v3.3.0
with:
submodules: true
fetch-depth: 0
lfs: false
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.1.3
uses: microsoft/setup-msbuild@v1.3.1
- name: Generate project files
run: cmd /C call generate.bat
@ -49,7 +49,7 @@ jobs:
run: msbuild /m /v:minimal /p:Configuration=${{matrix.configuration}} /p:Platform=${{matrix.platform}} build/xlabs-master-tool.sln
- name: Upload ${{matrix.configuration}} ${{matrix.arch}} binaries
uses: actions/upload-artifact@v3.1.0
uses: actions/upload-artifact@v3.1.2
with:
name: Windows ${{matrix.configuration}} ${{matrix.arch}} binaries
path: |
@ -74,7 +74,7 @@ jobs:
config: release
steps:
- name: Check out files
uses: actions/checkout@v3
uses: actions/checkout@v3.3.0
with:
submodules: true
fetch-depth: 0
@ -98,7 +98,7 @@ jobs:
../tools/mold/mold -run make config=${{matrix.config}}_${{matrix.arch}} -j$(nproc)
- name: Upload ${{matrix.configuration}} ${{matrix.arch}} binaries
uses: actions/upload-artifact@v3.1.0
uses: actions/upload-artifact@v3.1.2
with:
name: Linux ${{matrix.configuration}} ${{matrix.arch}} binaries
path: |
@ -127,7 +127,7 @@ jobs:
platform: arm64
steps:
- name: Check out files
uses: actions/checkout@v3
uses: actions/checkout@v3.3.0
with:
submodules: true
fetch-depth: 0
@ -145,7 +145,7 @@ jobs:
make config=${{matrix.config}}_${{matrix.platform}} -j$(sysctl -n hw.logicalcpu)
- name: Upload ${{matrix.configuration}} ${{matrix.arch}} binaries
uses: actions/upload-artifact@v3.1.0
uses: actions/upload-artifact@v3.1.2
with:
name: macOS ${{matrix.configuration}} ${{matrix.arch}} binaries
path: |