Update main.yml
This commit is contained in:
parent
1f7c992ee6
commit
2288f68ba6
14
.github/workflows/main.yml
vendored
14
.github/workflows/main.yml
vendored
|
@ -1,4 +1,4 @@
|
||||||
name: Build my project ✨
|
name: Build Windows
|
||||||
|
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
|
@ -11,8 +11,6 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
targetPlatform:
|
targetPlatform:
|
||||||
- StandaloneWindows64
|
- StandaloneWindows64
|
||||||
- StandaloneLinux64
|
|
||||||
- StandaloneOSX
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
@ -49,12 +47,8 @@ jobs:
|
||||||
buildsPath: build
|
buildsPath: build
|
||||||
targetPlatform: ${{ matrix.targetPlatform }}
|
targetPlatform: ${{ matrix.targetPlatform }}
|
||||||
|
|
||||||
- name: Tar files
|
# Output
|
||||||
run: tar -cvf ${{ matrix.targetPlatform }}.tar ./build/${{ matrix.targetPlatform }}
|
- uses: actions/upload-artifact@v2
|
||||||
|
|
||||||
- name: Upload Artifact
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.targetPlatform }}-build
|
name: ${{ matrix.targetPlatform }}-build
|
||||||
path: ${{ matrix.targetPlatform }}.tar
|
path: ./build/${{ matrix.targetPlatform }}/
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue