Skip to content

Commit

Permalink
Merge pull request #182 from pablosnt/bugfix/desktop-apps-generation-…
Browse files Browse the repository at this point in the history
…flow

Fix upload of Windows Desktop app to GitHub releases
  • Loading branch information
pablosnt authored Mar 8, 2023
2 parents e2c477e + 4584f67 commit 721b7ad
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/desktop-applications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,15 @@ jobs:
if-no-files-found: warn

- name: Upload Desktop app to GitHub release
if: github.event_name == 'release'
if: github.event_name == 'release' && matrix.os != 'windows-latest'
working-directory: rekono/frontend/dist_electron
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload --repo pablosnt/rekono ${{ github.event.release.name }} *.${{ matrix.extension }}

- name: Upload Desktop app to GitHub release
if: github.event_name == 'release' && matrix.os == 'windows-latest'
working-directory: rekono/frontend/dist_electron
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload --repo pablosnt/rekono ${{ github.event.release.name }} Rekono.Setup.${{ github.event.release.name }}.${{ matrix.extension }}

0 comments on commit 721b7ad

Please sign in to comment.