diff --git a/.github/workflows/package-binaries.yml b/.github/workflows/package-binaries.yml index 3fac33a..022c8b3 100644 --- a/.github/workflows/package-binaries.yml +++ b/.github/workflows/package-binaries.yml @@ -140,7 +140,11 @@ jobs: - uses: actions/download-artifact@v1 with: name: spinalcordtoolbox-binaries_osx - + + - uses: actions/download-artifact@v1 + with: + name: spinalcordtoolbox-binaries_windows + - name: Upload Release Asset uses: actions/upload-release-asset@v1 env: @@ -160,3 +164,13 @@ jobs: asset_path: ./spinalcordtoolbox-binaries_osx/spinalcordtoolbox-binaries_osx.tar.gz asset_name: spinalcordtoolbox-binaries_osx.tar.gz asset_content_type: application/gzip + + - name: Upload Release Asset + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps + asset_path: ./spinalcordtoolbox-binaries_windows/spinalcordtoolbox-binaries_windows.tar.gz + asset_name: spinalcordtoolbox-binaries_windows.tar.gz + asset_content_type: application/gzip