Add artifacts for Windows, Linux and MacOS

This commit is contained in:
Timotej 2020-08-19 18:09:53 +02:00
parent 591194dfcf
commit 06ae9d9c0a

View File

@ -21,6 +21,10 @@ jobs:
run: make -f Bootstrap.mak ${{ matrix.osname }} CONFIG=${{ matrix.config }}
- name: Test
run: bin/${{ matrix.config }}/premake5 test
- uses: actions/upload-artifact@v2
with:
name: ${{ matrix.osname }}-${{ matrix.config }}
path: bin/${{ matrix.config }}/
windows:
runs-on: windows-latest
strategy:
@ -38,3 +42,7 @@ jobs:
- name: Test
run: bin\${{ matrix.config }}\premake5 test
shell: cmd
- uses: actions/upload-artifact@v2
with:
name: windows-${{ matrix.config }}-${{ matrix.platform }}
path: bin\${{ matrix.config }}\