Skip to content

Commit 3f08603

Browse files
committed
Experiment with using artifact id
1 parent 9ab2ba1 commit 3f08603

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/dawn.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ jobs:
3333
chromium_dawn_version: ${{ steps.read-version.outputs.chromium_dawn_version }}
3434
chromium_dawn_hash: ${{ steps.read-version.outputs.chromium_dawn_hash }}
3535
chromium_dawn_suffix: ${{ steps.read-version.outputs.chromium_dawn_suffix }}
36+
dawn-source-artifact-id: ${{ steps.upload-dawn-source.outputs.artifact_id }}
37+
dawn-version-artifact-id: ${{ steps.upload-dawn-version.outputs.artifact_id }}
3638
steps:
3739
- name: Checkout code
3840
uses: actions/checkout@v4
@@ -54,6 +56,7 @@ jobs:
5456
python ci_build_dawn.py get-dawn --channel ${{ env.DAWN_CHANNEL }}
5557
5658
- name: Upload Dawn source
59+
id: upload-dawn-source
5760
uses: actions/upload-artifact@v4
5861
with:
5962
name: dawn-source
@@ -65,6 +68,7 @@ jobs:
6568
retention-days: 1
6669

6770
- name: Upload Dawn Version
71+
id: upload-dawn-version
6872
uses: actions/upload-artifact@v4
6973
with:
7074
name: dawn-version
@@ -131,7 +135,7 @@ jobs:
131135
- name: Download Dawn source
132136
uses: actions/download-artifact@v5
133137
with:
134-
name: dawn-source
138+
artifact-ids: ${{ needs.get-dawn-source.outputs.dawn-source-artifact-id }}
135139
path: Dawn/dawn_source/
136140

137141
- name: Build Dawn for ${{ matrix.target }}

0 commit comments

Comments
 (0)