Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
adamthrash authored Apr 12, 2024
1 parent 3e57c27 commit 8d7906f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Create
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release create -d $(date '+%Y.%m')
run: gh release create -d "$(date '+%Y.%m')"
release:
name: Build and Upload
needs: create_release
Expand All @@ -41,11 +41,11 @@ jobs:
if: startsWith(runner.os, 'Windows')
run: |
mv egads.exe egads_${{ runner.os }}.exe
gh release upload $(date '+%Y.%m') egads_${{ runner.os }}.exe
gh release upload "$(date '+%Y.%m')" egads_${{ runner.os }}.exe
- name: Release (Not Windows)
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{ ! startsWith(runner.os, 'Windows') }}
run: |
mv egads egads_${{ runner.os }}
gh release upload $(date '+%Y.%m') egads_${{ runner.os }}
gh release upload "$(date '+%Y.%m')" egads_${{ runner.os }}

0 comments on commit 8d7906f

Please sign in to comment.