Skip to content

Commit

Permalink
Fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmfinol committed Dec 5, 2023
1 parent 86fb6e3 commit 8dd0ae8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,14 +213,14 @@ jobs:
if: github.event.action == 'published' && matrix.targetPlatform == 'StandaloneLinux64'
with:
files: build/${{ matrix.targetPlatform }}/
dest: build/cgs-${{ matrix.targetPlatform }}.zip
dest: cgs-${{ matrix.targetPlatform }}.zip
- name: Upload Zip to GitHub Release
uses: svenstaro/upload-release-action@v2
if: github.event.action == 'published' && matrix.targetPlatform == 'StandaloneLinux64'
with:
repo_token: ${{ secrets.CGS_PAT }}
asset_name: cgs-${{ matrix.targetPlatform }}.zip
file: build/cgs-${{ matrix.targetPlatform }}.zip
file: cgs-${{ matrix.targetPlatform }}.zip
tag: ${{ github.ref }}
overwrite: true
body: ${{ github.event.release.body }}
Expand Down Expand Up @@ -295,8 +295,8 @@ jobs:
uses: actions/upload-artifact@v3
if: github.event.action == 'published' || contains(github.event.inputs.workflow_mode, 'StandaloneOSX') || contains(github.event.inputs.workflow_mode, 'Steam')
with:
name: Card Game Simulator.app
path: build/StandaloneOSX/Card Game Simulator.app
name: Card Game Simulator.app
- name: Zip App
uses: vimtor/[email protected]
if: github.event.action == 'published'
Expand Down Expand Up @@ -520,21 +520,21 @@ jobs:
uses: actions/upload-artifact@v3
if: github.event.action == 'published' || contains(github.event.inputs.workflow_mode, matrix.targetPlatform) || (contains(github.event.inputs.workflow_mode, 'Steam') && contains(matrix.targetPlatform, 'StandaloneWindows'))
with:
name: cgs-${{ matrix.targetPlatform }}
path: build/${{ matrix.targetPlatform }}
name: cgs-${{ matrix.targetPlatform }}
- name: Zip Build
uses: vimtor/[email protected]
if: github.event.action == 'published' && matrix.targetPlatform != 'WSAPlayer'
with:
files: build/${{ matrix.targetPlatform }}/
dest: build/cgs-${{ matrix.targetPlatform }}.zip
dest: cgs-${{ matrix.targetPlatform }}.zip
- name: Upload Zip to GitHub Release
uses: svenstaro/upload-release-action@v2
if: github.event.action == 'published' && matrix.targetPlatform != 'WSAPlayer'
with:
repo_token: ${{ secrets.CGS_PAT }}
asset_name: cgs-${{ matrix.targetPlatform }}.zip
file: build/cgs-${{ matrix.targetPlatform }}.zip
file: cgs-${{ matrix.targetPlatform }}.zip
tag: ${{ github.ref }}
overwrite: true
body: ${{ github.event.release.body }}
Expand Down

0 comments on commit 8dd0ae8

Please sign in to comment.