Skip to content

Commit

Permalink
release workflow fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ddd-mtl committed Oct 20, 2022
1 parent 2c68c8f commit c768d46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release upload "${GITHUB_REF#refs/tags/}" "electron/out/Where-$WHERE_VERSION.dmg" --clobber
gh release upload "${GITHUB_REF#refs/tags/}" "electron/out-builder/Where-$WHERE_VERSION.dmg" --clobber
- name: upload binary (Windows only)
if: ${{ runner.os == 'Windows' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release upload "$($env:GITHUB_REF -replace "refs/tags/")" "electron/out/Where.Setup.$env:WHERE_VERSION.exe" --clobber
gh release upload "$($env:GITHUB_REF -replace "refs/tags/")" "electron/out-builder/Where.Setup.$env:WHERE_VERSION.exe" --clobber

0 comments on commit c768d46

Please sign in to comment.