diff --git a/.github/workflows/master.yaml b/.github/workflows/master.yaml index 02f9c39..79279f5 100644 --- a/.github/workflows/master.yaml +++ b/.github/workflows/master.yaml @@ -84,12 +84,13 @@ jobs: draft: false prerelease: false - name: Upload Release Asset + if: matrix.platform != 'windows-latest' 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 }} # 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: ./my-artifact.zip - asset_name: my-artifact.zip - asset_content_type: application/zip + asset_path: dist/go_get_dolar-${{ matrix.platform }}_${{ needs.version.outputs.current-version }} + asset_name: go_get_dolar-${{ matrix.platform }}_${{ needs.version.outputs.current-version }} + asset_content_type: application/octet-stream