File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -162,18 +162,18 @@ jobs:
162162 git fetch origin main
163163 git reset --hard "$COMMIT_HASH"
164164 - name : Publish with Sampo
165- if : steps.check-changes .outputs.committed == 'true '
165+ if : steps.commit-release .outputs.commit-hash != ' '
166166 env :
167167 GITHUB_TOKEN : ${{ steps.releaser.outputs.token }}
168168 HEX_API_KEY : ${{ secrets.HEX_API_KEY }}
169169 run : sampo publish -- --yes
170170
171171 - name : Push tags
172- if : steps.check-changes .outputs.committed == 'true '
172+ if : steps.commit-release .outputs.commit-hash != ' '
173173 run : git push origin --tags
174174
175175 - name : Create GitHub Release
176- if : steps.check-changes .outputs.committed == 'true '
176+ if : steps.commit-release .outputs.commit-hash != ' '
177177 env :
178178 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
179179 NEW_VERSION : ${{ steps.sampo-release.outputs.new_version }}
You can’t perform that action at this time.
0 commit comments