Skip to content

Commit f844536

Browse files
authored
fix(release): treat workflow dry_run input as string
2 parents 0e48199 + 0cbebda commit f844536

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,12 @@ jobs:
125125
git commit -m "chore($PACKAGE): bump version to $NEW_VERSION"
126126
127127
- name: Push to main
128-
if: ${{ github.event.inputs.dry_run == false && github.ref_name == 'main' }}
128+
if: ${{ github.event.inputs.dry_run == 'false' && github.ref_name == 'main' }}
129129
run: |
130130
git push origin main
131131
132132
- name: Create tag
133-
if: ${{ github.event.inputs.dry_run == false }}
133+
if: ${{ github.event.inputs.dry_run == 'false' }}
134134
env:
135135
TAG: ${{ steps.bump.outputs.tag }}
136136
run: |
@@ -139,7 +139,7 @@ jobs:
139139
140140
141141
- name: Create GitHub Release
142-
if: ${{ github.event.inputs.dry_run == false }}
142+
if: ${{ github.event.inputs.dry_run == 'false' }}
143143
uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2
144144
with:
145145
tag_name: ${{ steps.bump.outputs.tag }}
@@ -148,9 +148,9 @@ jobs:
148148
files: |
149149
libs/${{ env.PACKAGE }}/dist/*.tar.gz
150150
libs/${{ env.PACKAGE }}/dist/*.whl
151-
151+
152152
- name: Push to PyPI
153-
if: ${{ github.event.inputs.dry_run == false }}
153+
if: ${{ github.event.inputs.dry_run == 'false' }}
154154
working-directory: libs/${{ env.PACKAGE }}
155155
env:
156156
PIPY_USERNAME: ${{ secrets.PIPY_USERNAME }}

0 commit comments

Comments
 (0)