Skip to content

Commit 98bd267

Browse files
committed
Fix to paths for upload of bundle
1 parent 7525867 commit 98bd267

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/dawn.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -199,15 +199,11 @@ jobs:
199199
BUNDLE_NAME="dawn_webgpu_${{needs.get-dawn-source.outputs.chromium_dawn_suffix}}.zip"
200200
echo "bundle_name=$BUNDLE_NAME" >> $GITHUB_OUTPUT
201201
202-
- name: List build artifacts
203-
run: |
204-
ls -R Dawn/dist/
205-
206202
- name: Upload bundle artifact
207203
uses: actions/upload-artifact@v4
208204
with:
209205
name: dawn-webgpu-bundle
210-
path: Dawn/dist/dawn_webgpu_${{steps.set-bundle-name.outputs.bundle_name}}
206+
path: Dawn/dist/${{steps.set-bundle-name.outputs.bundle_name}}
211207
retention-days: 30
212208

213209
create-release:
@@ -228,7 +224,7 @@ jobs:
228224
id: compute-sha256
229225
run: |
230226
cd dawn-bundle
231-
sha256sum dawn_webgpu_${{needs.create-bundle.outputs.bundle_name}} > sha256sum.txt
227+
sha256sum ${{needs.create-bundle.outputs.bundle_name}} > sha256sum.txt
232228
echo "sha256sum=$(cat sha256sum.txt)" >> $GITHUB_OUTPUT
233229
234230
- name: Tag name
@@ -269,7 +265,7 @@ jobs:
269265
else
270266
echo "Uploading to release: $TAG"
271267
cd dawn-bundle
272-
gh release upload $TAG dawn_webgpu_${{needs.create-bundle.outputs.bundle_name}} --clobber
268+
gh release upload $TAG ${{needs.create-bundle.outputs.bundle_name}} --clobber
273269
fi
274270
env:
275271
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)