Skip to content

Commit

Permalink
Execute conditions on dry-run == false
Browse files Browse the repository at this point in the history
  • Loading branch information
RobPasMue committed Mar 13, 2023
1 parent aea65d2 commit d115aba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _release-pypi/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ runs:

- name: "Upload artifacts to private PyPi"
shell: bash
if: inputs.dry-run != 'false'
if: inputs.dry-run == 'false'
run: |
python -m twine upload --verbose --skip-existing ${{ inputs.library-name }}-artifacts/*.whl
python -m twine upload --verbose --skip-existing ${{ inputs.library-name }}-artifacts/*.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion release-github/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ runs:

- name: "Release to GitHub"
uses: softprops/action-gh-release@v1
if: inputs.dry-run != 'false'
if: inputs.dry-run == 'false'
with:
fail_on_unmatched_files: false
files: |
Expand Down

0 comments on commit d115aba

Please sign in to comment.