Browse Source

Fix build file for release

Sebastien 4 years ago
parent
commit
f3662d4ca8
1 changed files with 3 additions and 2 deletions
  1. 3 2
      .github/workflows/CrossBuild.yml

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

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