From 1c1d8f6b2cfe0f0786867783b0e1c4b305877962 Mon Sep 17 00:00:00 2001 From: Ioannis Tsiakkas Date: Sat, 24 Feb 2024 13:48:00 +0200 Subject: [PATCH] test for assets --- .github/workflows/go.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) 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