Skip to content

Commit

Permalink
Tweak dry run parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
twizmwazin committed May 28, 2024
1 parent fcb0ea3 commit e78fa0f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/angr-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,13 +165,13 @@ jobs:
- name: Publish release commits
run: release-scripts/publish_release_commits.sh
env:
DRY_RUN: ${{ github.event_name != 'schedule' || github.event.inputs.dry_run == true }}
DRY_RUN: ${{ github.event_name != 'schedule' && github.event.inputs.dry_run == false }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}

- name: Bump versions on master
run: release-scripts/bump_versions.sh
env:
DRY_RUN: ${{ github.event_name != 'schedule' || github.event.inputs.dry_run == true }}
DRY_RUN: ${{ github.event_name != 'schedule' && github.event.inputs.dry_run == false }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}

# PyPI artifacts
Expand Down Expand Up @@ -208,7 +208,7 @@ jobs:
run: find artifacts \( -name "*.tar.gz" -o -name "*.whl" \) -exec mv {} dist/ \;

- name: Publish distribution to PyPI
if: github.event_name == 'schedule' || github.event.inputs.dry_run == false
if: github.event_name == 'schedule' || github.event.inputs.dry_run == 'false'
uses: pypa/gh-action-pypi-publish@release/v1
with:
verbose: true

0 comments on commit e78fa0f

Please sign in to comment.