diff --git a/.github/workflows/cd_src_release.yml b/.github/workflows/cd_src_release.yml index 068864d1..6d6460f2 100644 --- a/.github/workflows/cd_src_release.yml +++ b/.github/workflows/cd_src_release.yml @@ -14,6 +14,7 @@ jobs: # TODO: Build project and zip generated files - name: Build project + id: build_project run: | zip raylib.zip README.md @@ -23,7 +24,7 @@ jobs: 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 + 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: ./raylib.zip asset_name: raylib.zip asset_content_type: application/zip