diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a1963eb..73a649a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,7 +31,7 @@ jobs: - name: Upload Release Assets (windows) id: upload-release-asset-windows uses: actions/upload-release-asset@v1 - if: ${{ matrix.platform.os }} == 'windows-latest' + if: ${{ matrix.platform }} == 'windows-latest' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: @@ -42,11 +42,11 @@ jobs: - name: Upload Release Assets (unix) id: upload-release-asset-unix uses: actions/upload-release-asset@v1 - if: ${{ matrix.platform.os }} != 'windows-latest' + if: ${{ matrix.platform }} != 'windows-latest' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ github.event.release.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: ./target/release/escaper - asset_name: escaper-${{ matrix.platform.os }} + asset_name: escaper-${{ matrix.platform }} asset_content_type: application/octet-stream