浏览代码

Fix build file for release

Sebastien 4 年之前
父节点
当前提交
f3662d4ca8
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      .github/workflows/CrossBuild.yml

+ 3 - 2
.github/workflows/CrossBuild.yml

@@ -24,6 +24,7 @@ jobs:
     runs-on: ubuntu-latest
     needs: job1
     strategy:
+      max-parallel: 1
       matrix:
         node: [I2S-4MFlash, ESP32-A1S, SqueezeAmp]
     steps:
@@ -136,6 +137,6 @@ jobs:
         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: build/${artifact_file_name}
-        asset_name: ${artifact_file_name}
+        asset_path: build/${{ env.artifact_file_name }}
+        asset_name: ${{ env.artifact_file_name }}
         asset_content_type: application/octet-stream