Skip to content

Commit

Permalink
absolute path for build
Browse files Browse the repository at this point in the history
  • Loading branch information
divanvisagie committed Sep 3, 2023
1 parent 454d8d8 commit 18f3159
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,13 @@ jobs:
run: |
Invoke-WebRequest -Uri "https://github.com/tcnksm/ghr/releases/download/v0.13.0/ghr_v0.13.0_windows_amd64.zip" -OutFile "ghr.zip"
Expand-Archive -Path "ghr.zip" -DestinationPath "C:\ghr"
Add-Content -Path $env:GITHUB_PATH -Value "C:\ghr"
- name: Debug list ghr directory
run: dir C:\ghr

- name: Create GitHub Release and Upload Asset using ghr
run: |
ghr -t ${{ secrets.GITHUB_TOKEN }} \
C:\ghr\ghr.exe -t ${{ secrets.GITHUB_TOKEN }} \
-u ${{ github.repository_owner }} \
-r ${{ github.event.repository.name }} \
-c ${{ github.sha }} \
Expand Down

0 comments on commit 18f3159

Please sign in to comment.