Skip to content

Commit

Permalink
fix upload releases in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
RythenGlyth committed Sep 10, 2024
1 parent cbbb4c7 commit 633e219
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 @@ -24,13 +24,13 @@ jobs:
with:
go-version: 1.23.1
- name: Build
run: go build -o masterclass-dl-${{ matrix.goos }}-${{ matrix.goarch }}${{ runner.os == 'Windows' ? '.exe' : '' }} .
run: go build -o masterclass-dl-${{ matrix.goos }}-${{ matrix.goarch }}${{ matrix.os == 'windows' && '.exe' || '' }}
- name: Upload to Release
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./masterclass-dl-${{ matrix.goos }}-${{ matrix.goarch }}${{ runner.os == 'Windows' ? '.exe' : '' }}
asset_name: masterclass-dl-${{ matrix.goos }}-${{ matrix.goarch }}${{ runner.os == 'Windows' ? '.exe' : '' }}
asset_path: ./masterclass-dl-${{ matrix.goos }}-${{ matrix.goarch }}${{ matrix.os == 'windows' && '.exe' || '' }}
asset_name: masterclass-dl-${{ matrix.goos }}-${{ matrix.goarch }}${{ matrix.os == 'windows' && '.exe' || '' }}
asset_content_type: application/octet-stream

0 comments on commit 633e219

Please sign in to comment.