build: update workflow

This commit is contained in:
FutureRave 2022-11-06 12:10:42 +00:00
parent 82de294e23
commit 2991ee9b6f
No known key found for this signature in database
GPG Key ID: 22F9079C86CFAB31

View File

@ -27,7 +27,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Check out files - name: Check out files
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
submodules: true submodules: true
fetch-depth: 0 fetch-depth: 0
@ -35,7 +35,7 @@ jobs:
lfs: false lfs: false
- name: Add msbuild to PATH - name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.0.2 uses: microsoft/setup-msbuild@v1.1.3
- name: Generate project files - name: Generate project files
#run: tools/premake5 vs2022 --ci-build #run: tools/premake5 vs2022 --ci-build
@ -48,7 +48,7 @@ jobs:
run: msbuild /m /v:minimal /p:Configuration=${{matrix.configuration}} /p:Platform=x64 build/h2-mod.sln run: msbuild /m /v:minimal /p:Configuration=${{matrix.configuration}} /p:Platform=x64 build/h2-mod.sln
- name: Upload ${{matrix.configuration}} binaries - name: Upload ${{matrix.configuration}} binaries
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3.1.0
with: with:
name: ${{matrix.configuration}} binaries name: ${{matrix.configuration}} binaries
path: | path: |
@ -56,7 +56,7 @@ jobs:
build/bin/x64/${{matrix.configuration}}/h2-mod.pdb build/bin/x64/${{matrix.configuration}}/h2-mod.pdb
- name: Upload ${{matrix.configuration}} data artifacts - name: Upload ${{matrix.configuration}} data artifacts
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3.1.0
with: with:
name: ${{matrix.configuration}} data artifacts name: ${{matrix.configuration}} data artifacts
path: | path: |
@ -76,12 +76,12 @@ jobs:
run: echo "FED_MASTER_PATH=${{ secrets.FED_MASTER_SSH_PATH_DEV }}" >> $GITHUB_ENV run: echo "FED_MASTER_PATH=${{ secrets.FED_MASTER_SSH_PATH_DEV }}" >> $GITHUB_ENV
- name: Download Release binaries - name: Download Release binaries
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
with: with:
name: Release binaries name: Release binaries
- name: Download Release data artifacts - name: Download Release data artifacts
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
with: with:
name: Release data artifacts name: Release data artifacts
path: data path: data