4747
4848 - name : Skip Publish for Alpha and Beta Tags
4949 id : skip-publish
50- if : contains(github.ref, 'alpha') || contains(github.ref, 'beta') || contains(github.ref, 'rc') || inputs.skip-publish == ' true'
50+ if : contains(github.ref, 'alpha') || contains(github.ref, 'beta') || contains(github.ref, 'rc') || inputs.skip-publish == true
5151 run : |
5252 echo "Skipping publish for alpha and beta tags"
5353 echo "skip-publish=true" >> $GITHUB_OUTPUT
@@ -153,7 +153,7 @@ jobs:
153153 password : ${{ secrets.DOCKER_PASSWORD }}
154154
155155 - name : Run GoReleaser (w/ Docker Release)
156- if : ${{ inputs.skip-publish != ' true' }}
156+ if : ${{ inputs.skip-publish != true }}
157157 uses : goreleaser/goreleaser-action@v6
158158 with :
159159 distribution : goreleaser
@@ -174,14 +174,14 @@ jobs:
174174 TSIGN_ACCESS_TOKEN : ${{ steps.get_token.outputs.tsign_access_token }}
175175
176176 - name : Run GoReleaser (w/o Docker Release)
177- if : ${{ inputs.skip-publish == ' true' }}
177+ if : ${{ inputs.skip-publish == true }}
178178 uses : goreleaser/goreleaser-action@v6
179179 with :
180180 distribution : goreleaser
181181 version : latest
182182 args : |
183183 release -f .github/.goreleaser-unstable.yml \
184- ${{ inputs.goreleaser-snapshot == ' true' && '--snapshot' || '' }} \
184+ ${{ inputs.goreleaser-snapshot == true && '--snapshot' || '' }} \
185185 --clean --timeout 120m
186186 env :
187187 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments