diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 92a3457..0fd1cbb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,7 +37,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.MY_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 + upload_url: ${{ github.event.release.upload_url }} asset_path: ./target/release/chubaodb asset_name: chubaodb_mac asset_content_type: application/zip @@ -49,7 +49,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.MY_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 + upload_url: ${{ github.event.release.upload_url }} asset_path: ./target/release/chubaodb asset_name: chubaodb_linux asset_content_type: application/zip @@ -61,7 +61,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.MY_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 + upload_url: ${{ github.event.release.upload_url }} asset_path: ./target/release/chubaodb.exe asset_name: chubaodb.exe asset_content_type: application/zip