Update build.yml

This commit is contained in:
FutureRave 2022-10-18 21:49:45 +01:00
parent c7ae27a664
commit 8bc817eb41
No known key found for this signature in database
GPG Key ID: 22F9079C86CFAB31

View File

@ -48,20 +48,13 @@ jobs:
run: msbuild /m /v:minimal /p:Configuration=${{matrix.configuration}} /p:Platform=Win32 build/iw4x.sln run: msbuild /m /v:minimal /p:Configuration=${{matrix.configuration}} /p:Platform=Win32 build/iw4x.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: |
build/bin/Win32/${{matrix.configuration}}/iw4x.dll build/bin/Win32/${{matrix.configuration}}/iw4x.dll
build/bin/Win32/${{matrix.configuration}}/iw4x.pdb build/bin/Win32/${{matrix.configuration}}/iw4x.pdb
# - name: Upload ${{matrix.configuration}} data artifacts
# uses: actions/upload-artifact@v2
# with:
# name: ${{matrix.configuration}} data artifacts
# path: |
# data/*
deploy: deploy:
name: Deploy artifacts name: Deploy artifacts
needs: build needs: build
@ -77,16 +70,10 @@ jobs:
run: echo "XLABS_MASTER_PATH=${{ secrets.XLABS_MASTER_SSH_PATH_DEV }}" >> $GITHUB_ENV run: echo "XLABS_MASTER_PATH=${{ secrets.XLABS_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
# uses: actions/download-artifact@v2
# with:
# name: Release data artifacts
# path: data
# Set up committer info and GPG key # Set up committer info and GPG key
- name: Install SSH key - name: Install SSH key
uses: shimataro/ssh-key-action@v2 uses: shimataro/ssh-key-action@v2