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:
46
46
working-directory : compiler
47
47
run : git fetch --tags https://github.com/google/closure-compiler.git
48
48
- name : Find compiler submodule newer release tag
49
- id : version-number
50
49
if : ${{ github.event.inputs.COMPILER_VERSION_NUMBER == '' }}
51
50
run : |
52
51
echo "COMPILER_VERSION_NUMBER=$(./build-scripts/checkout-newer-version-tag.js)" >> "$GITHUB_ENV"
53
52
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
55
54
if : ${{ github.event.inputs.COMPILER_VERSION_NUMBER != '' }}
56
- working-directory : compiler
57
55
run : |
58
- git checkout v${{ github.event.inputs.COMPILER_VERSION_NUMBER }}
59
56
echo "COMPILER_VERSION_NUMBER='${{ github.event.inputs.COMPILER_VERSION_NUMBER }}'" >> "$GITHUB_ENV"
60
57
- name : Ensure compiler version defined
61
58
if : ${{ env.COMPILER_VERSION_NUMBER == '' }}
62
59
run : |
63
60
gh run cancel ${{ github.run_id }}
64
61
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 }}
65
65
- name : Create release commit and tag
66
66
run : |
67
67
git config --global user.email "[email protected] "
You can’t perform that action at this time.
0 commit comments