From 40090e7dd70e288b41e1b740a6e0daa3cd4707de Mon Sep 17 00:00:00 2001 From: Ioannis Tsiakkas Date: Sat, 24 Feb 2024 15:24:02 +0200 Subject: [PATCH] Add download links for binaries --- .github/workflows/go.yml | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 7f672a7..c68fd51 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -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 @@ -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-*"]' \ No newline at end of file + done \ No newline at end of file