diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index bf350b4..2a35cce 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -46,6 +46,16 @@ jobs: with: name: mediarizer2-${{ matrix.OS }}-${{ matrix.ARCH }}.${{ matrix.EXT }} path: mediarizer2-${{ matrix.OS }}-${{ matrix.ARCH }}.${{ matrix.EXT }} + + - name: Upload Release Asset + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ github.event.release.upload_url }} # This is the upload URL for the release assets + asset_path: ./path_to_your_executable/mediarizer2-${{ matrix.OS }}-${{ matrix.ARCH }}${{ matrix.EXT }} + asset_name: mediarizer2-${{ matrix.OS }}-${{ matrix.ARCH }}${{ matrix.EXT }} + asset_content_type: application/octet-stream release: needs: build