diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index 549cb1b..de2dc12 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -53,7 +53,12 @@ jobs: uses: actions/upload-artifact@v2 with: name: my-artifact - path: ${{ github.workspace }} + path: | + ./reaper_*.dll + ./reaper_*.exe + ./reaper_*.pkg + ./reaper_*.dylib + ./reaper_*.so release: needs: build @@ -68,4 +73,21 @@ jobs: tag_name: ${{ github.ref }} release_name: ${{ github.ref }} draft: true - prerelease: false \ No newline at end of file + prerelease: false + + - name: Download artifacts + uses: actions/download-artifact@v2 + with: + name: my-artifact + path: artifacts + + - name: Upload Release Asset + id: upload-release-asset + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: ./artifacts/* + asset_name: artifact + asset_content_type: application/octet-stream \ No newline at end of file