Skip to content

Commit

Permalink
Add download links for binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
keybraker committed Feb 24, 2024
1 parent bac2d82 commit 40090e7
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,16 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.run_number }}
release_name: Release ${{ github.ref_name }} (${{ github.run_number }})
tag_name: ${{ github.ref_name }}
release_name: Release ${{ github.ref_name }}
body: |
- All binaries available in release notes
- Commits included:
${{ steps.get_commits.outputs.commits }}
- Binaries:
${{ github.server_url }}/${{ github.repository }}/releases/download/${{ github.ref_name }}/mediarizer2-linux-amd64.bin
${{ github.server_url }}/${{ github.repository }}/releases/download/${{ github.ref_name }}/mediarizer2-windows-amd64.exe
${{ github.server_url }}/${{ github.repository }}/releases/download/${{ github.ref_name }}/mediarizer2-darwin-amd64.app
${{ github.server_url }}/${{ github.repository }}/releases/download/${{ github.ref_name }}/mediarizer2-darwin-arm64.app
draft: false
prerelease: false

Expand All @@ -102,11 +106,4 @@ jobs:
-H "Content-Type: application/octet-stream" \
--data-binary "@$asset_path" \
"${{ steps.create_release.outputs.upload_url }}?name=$(urlencode $asset_name)"
done
- name: Upload release binaries
uses: alexellis/upload-assets@0.4.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
asset_paths: '["mediarizer2-*"]'
done

0 comments on commit 40090e7

Please sign in to comment.