Update main.yml

This commit is contained in:
Saraistupid 2023-01-24 01:24:42 +02:00 committed by GitHub
parent 1f7c992ee6
commit 2288f68ba6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 }}/