File tree Expand file tree Collapse file tree 3 files changed +13
-11
lines changed Expand file tree Collapse file tree 3 files changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -116,10 +116,11 @@ runs:
116116 NODE_AUTH_TOKEN : ' ${{ inputs.wombat-token-core }}'
117117 shell : ' bash'
118118 run : |
119- npm publish \
120- --dry-run="${{ inputs.dry-run }}" \
121- --workspace="@google/gemini-cli-core" \
122- --no-tag
119+ if [ "${{ inputs.dry-run }}" == "true" ]; then
120+ npm publish --dry-run --workspace="@google/gemini-cli-core" --no-tag
121+ else
122+ npm publish --workspace="@google/gemini-cli-core" --no-tag
123+ fi
123124
124125 - name : ' 🔗 Install latest core package'
125126 working-directory : ' ${{ inputs.working-directory }}'
@@ -136,10 +137,11 @@ runs:
136137 NODE_AUTH_TOKEN : ' ${{ inputs.wombat-token-cli }}'
137138 shell : ' bash'
138139 run : |
139- npm publish \
140- --dry-run="${{ inputs.dry-run }}" \
141- --workspace="@google/gemini-cli" \
142- --no-tag
140+ if [ "${{ inputs.dry-run }}" == "true" ]; then
141+ npm publish --dry-run --workspace="@google/gemini-cli" --no-tag
142+ else
143+ npm publish --workspace="@google/gemini-cli" --no-tag
144+ fi
143145
144146 - name : ' 🔬 Verify NPM release by version'
145147 uses : ' ./.github/actions/verify-release'
Original file line number Diff line number Diff line change 7777 echo "uri=$(cat final_image_uri.txt)" >> $GITHUB_OUTPUT
7878 - name : ' publish'
7979 shell : ' bash'
80- if : " ${{ inputs.dry-run == 'false ' }}"
80+ if : " ${{ inputs.dry-run != 'true ' }}"
8181 run : |-
8282 docker push "${{ steps.docker_build.outputs.uri }}"
8383 - name : ' Create issue on failure'
Original file line number Diff line number Diff line change 3333
3434 - name : ' Change tag for @google/gemini-cli-core'
3535 if : |-
36- ${{ inputs.dry-run == 'false ' }}
36+ ${{ inputs.dry-run != 'true ' }}
3737 env :
3838 NODE_AUTH_TOKEN : ' ${{ inputs.wombat-token-core }}'
3939 shell : ' bash'
4242
4343 - name : ' Change tag for @google/gemini-cli'
4444 if : |-
45- ${{ inputs.dry-run == 'false ' }}
45+ ${{ inputs.dry-run != 'true ' }}
4646 env :
4747 NODE_AUTH_TOKEN : ' ${{ inputs.wombat-token-cli }}'
4848 shell : ' bash'
You can’t perform that action at this time.
0 commit comments