浏览代码

Update cd_src_release.yml

Ray 5 年之前
父节点
当前提交
55e7428924
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      .github/workflows/cd_src_release.yml

+ 2 - 1
.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