File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,8 @@ jobs:
151151 create-bundle :
152152 needs : [build-dawn, get-dawn-source]
153153 runs-on : ubuntu-latest
154-
154+ outputs :
155+ bundle_name : ${{ steps.set-bundle-name.outputs.bundle_name }}
155156 steps :
156157 - name : Checkout code
157158 uses : actions/checkout@v4
@@ -200,11 +201,17 @@ jobs:
200201 cd Dawn
201202 python ci_build_dawn.py bundle
202203
204+ - name : Set bundle name
205+ id : set-bundle-name
206+ run : |
207+ BUNDLE_NAME="dawn_webgpu_${{needs.get-dawn-source.outputs.chromium_dawn_suffix}}.zip"
208+ echo "bundle_name=$BUNDLE_NAME" >> $GITHUB_OUTPUT
209+
203210 - name : Upload bundle artifact
204211 uses : actions/upload-artifact@v4
205212 with :
206213 name : dawn-webgpu-bundle
207- path : Dawn/dawn_webgpu_${{needs.get-dawn-source .outputs.chromium_dawn_suffix }}.zip
214+ path : Dawn/dist/ dawn_webgpu_${{steps.set-bundle-name .outputs.bundle_name }}.zip
208215 retention-days : 30
209216
210217 create-release :
@@ -225,7 +232,7 @@ jobs:
225232 id : compute-sha256
226233 run : |
227234 cd dawn-bundle
228- sha256sum dawn_webgpu_${{needs.get-dawn-source .outputs.chromium_dawn_suffix }}.zip > sha256sum.txt
235+ sha256sum dawn_webgpu_${{needs.create-bundle .outputs.bundle_name }}.zip > sha256sum.txt
229236 echo "sha256sum=$(cat sha256sum.txt)" >> $GITHUB_OUTPUT
230237
231238 - name : Tag name
You can’t perform that action at this time.
0 commit comments