This repository was archived by the owner on Sep 19, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -46,22 +46,22 @@ jobs:
4646 working-directory : compiler
4747 run : git fetch --tags https://github.com/google/closure-compiler.git
4848 - name : Find compiler submodule newer release tag
49- id : version-number
5049 if : ${{ github.event.inputs.COMPILER_VERSION_NUMBER == '' }}
5150 run : |
5251 echo "COMPILER_VERSION_NUMBER=$(./build-scripts/checkout-newer-version-tag.js)" >> "$GITHUB_ENV"
5352 echo "COMPILER_VERSION_NUMBER='$COMPILER_VERSION_NUMBER'" >> "$GITHUB_OUTPUT"
54- - name : Set compiler submodule to provided release branch
53+ - name : Set compiler version to provided value
5554 if : ${{ github.event.inputs.COMPILER_VERSION_NUMBER != '' }}
56- working-directory : compiler
5755 run : |
58- git checkout v${{ github.event.inputs.COMPILER_VERSION_NUMBER }}
5956 echo "COMPILER_VERSION_NUMBER='${{ github.event.inputs.COMPILER_VERSION_NUMBER }}'" >> "$GITHUB_ENV"
6057 - name : Ensure compiler version defined
6158 if : ${{ env.COMPILER_VERSION_NUMBER == '' }}
6259 run : |
6360 gh run cancel ${{ github.run_id }}
6461 gh run watch ${{ github.run_id }}
62+ - name : Set compiler submodule to provided release branch
63+ working-directory : compiler
64+ run : git checkout v${{ env.COMPILER_VERSION_NUMBER }}
6565 - name : Create release commit and tag
6666 run : |
6767 git config --global user.email "[email protected] "
You can’t perform that action at this time.
0 commit comments