workflow: update GitHub Action CI yml to use CMake's install method
This commit is contained in:
parent
ab01047450
commit
e39a9a0420
|
@ -52,17 +52,13 @@ jobs:
|
|||
run: cmake --build . --config ${{ matrix.configuration }} -j $env:NUMBER_OF_PROCESSORS
|
||||
- name: Prepare artifacts
|
||||
if: matrix.configuration == 'Release'
|
||||
run: |
|
||||
robocopy . artifacts COPYING README.md /r:0 /w:0
|
||||
robocopy build\bin\${{ matrix.configuration }} artifacts `
|
||||
cxbx.exe cxbxr-ldr.exe cxbxr-emu.dll glew32.dll subhook.dll SDL2.dll `
|
||||
cxbxr-debugger.exe capstone.dll cs_x86.dll /r:0 /w:0
|
||||
If ($LastExitCode -le 7) { $LastExitCode = 0 }
|
||||
- uses: actions/upload-artifact@v1
|
||||
working-directory: build
|
||||
run: cmake --install . --config ${{ matrix.configuration }} --prefix ../artifacts
|
||||
- uses: actions/upload-artifact@v2
|
||||
if: matrix.configuration == 'Release'
|
||||
with:
|
||||
name: CxbxReloaded-${{ matrix.configuration }}-${{ matrix.vsver }}
|
||||
path: artifacts
|
||||
path: artifacts/bin/**
|
||||
|
||||
release:
|
||||
if: |
|
||||
|
|
Loading…
Reference in New Issue