File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change 4444 runs-on : ubuntu-latest
4545 outputs :
4646 needs_build : ${{ steps.release_check.outputs.needs_build }}
47+ channel : ${{ steps.read-inputs.outputs.channel }}
48+ config : ${{ steps.read-inputs.outputs.config }}
4749 env :
4850 GH_TOKEN : ${{ github.token }}
4951 steps :
52+ - name : Read inputs
53+ id : read-inputs
54+ run : |
55+ echo "channel=${{ inputs.channel || github.event.inputs.channel }}" >> $GITHUB_OUTPUT
56+ echo "config=${{ inputs.config || github.event.inputs.config }}" >> $GITHUB_OUTPUT
57+
5058 - name : Checkout code
5159 uses : actions/checkout@v5
5260
6472 - name : Get Dawn version
6573 run : |
6674 cd Dawn
67- python ci_build_dawn.py get-dawn-version --channel ${{ github.event. inputs.channel }}
75+ python ci_build_dawn.py get-dawn-version --channel ${{ steps.read- inputs.outputs .channel }}
6876
6977 - name : Read Dawn version
7078 id : read-version
8290 - name : Tag name
8391 id : tag
8492 run : |
85- TAG="dawn-chromium-${{github.event. inputs.channel}}-${{steps.read-version.outputs.chromium_dawn_version}}-${{github.event. inputs.config}}"
93+ TAG="dawn-chromium-${{ steps.read- inputs.outputs. channel }}-${{steps.read-version.outputs.chromium_dawn_version}}-${{ steps.read- inputs.outputs. config }}"
8694 echo "tag=$TAG" >> $GITHUB_OUTPUT
8795
8896 - name : Run Dawn build if necessary
@@ -102,5 +110,5 @@ jobs:
102110 needs : check-dawn
103111 uses : ./.github/workflows/dawn.yaml
104112 with :
105- channel : ${{ github.event.inputs .channel }}
106- config : ${{ github.event.inputs .config }}
113+ channel : ${{ needs.check-dawn.outputs .channel }}
114+ config : ${{ needs.check-dawn.outputs .config }}
You can’t perform that action at this time.
0 commit comments