Skip to content

Commit

Permalink
Build condicional
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasVinicius314 committed Sep 1, 2022
1 parent e678d76 commit 4630e61
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,24 @@ jobs:

# Windows build zip
- uses: montudor/action-zip@v1
if: matrix.targetPlatform == 'StandaloneWindows64'
with:
args: zip -qq -r build/StandaloneWindows64.zip build/StandaloneWindows64

# Artifact release
# Windows artifact release
- name: Release with Notes
uses: softprops/action-gh-release@v1
if: matrix.targetPlatform == 'StandaloneWindows64'
with:
files: |
build/Android/Android.apk
build/StandaloneWindows64.zip
files: build/StandaloneWindows64.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Android artifact release
- name: Release with Notes
uses: softprops/action-gh-release@v1
if: matrix.targetPlatform == 'Android'
with:
files: build/Android/Android.apk
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4630e61

Please sign in to comment.