Skip to content

Commit 3572de5

Browse files
committed
Fix action inputs
1 parent b79adff commit 3572de5

File tree

1 file changed

+6
-16
lines changed

1 file changed

+6
-16
lines changed

.github/workflows/dawn.yaml

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -30,25 +30,15 @@ on:
3030
workflow_call:
3131
inputs:
3232
channel:
33-
description: "Chromium channel for Dawn"
3433
required: false
3534
default: "canary"
36-
type: choice
37-
options:
38-
- stable
39-
- beta
40-
- canary
35+
description: "Chromium channel for Dawn (stable, beta, canary)"
36+
type: string
4137
config:
42-
description: "Configuration"
38+
description: "Configuration (release or debug)"
4339
required: false
4440
default: "release"
45-
type: choice
46-
options:
47-
- release
48-
- debug
49-
secrets:
50-
GITHUB_TOKEN:
51-
required: true
41+
type: string
5242

5343
jobs:
5444
get-dawn-version:
@@ -150,7 +140,7 @@ jobs:
150140
- name: Build Dawn for ${{ matrix.target }}
151141
run: |
152142
cd Dawn
153-
python ci_build_dawn.py build-target --target ${{ matrix.target }} --config ${{ env.DAWN_CONFIG }}
143+
python ci_build_dawn.py build-target --target ${{ matrix.target }} --config ${{ github.event.inputs.config }}
154144
155145
- name: Upload build artifacts
156146
uses: actions/upload-artifact@v4
@@ -251,7 +241,7 @@ jobs:
251241
- name: Tag name
252242
id: tag
253243
run: |
254-
TAG="dawn-chromium-${{github.event.inputs.channel}}-${{needs.get-dawn-version.outputs.chromium_dawn_version}}"
244+
TAG="dawn-chromium-${{github.event.inputs.channel}}-${{needs.get-dawn-version.outputs.chromium_dawn_version}}-${{github.event.inputs.config}}"
255245
echo "tag=$TAG" >> $GITHUB_OUTPUT
256246
257247
- name: Create Release

0 commit comments

Comments
 (0)