From fcb0ea3decc524023d785a3af7203d2c74aa901a Mon Sep 17 00:00:00 2001 From: Kevin Phoenix Date: Tue, 28 May 2024 15:48:05 -0700 Subject: [PATCH] Invert dry run conditions --- .github/workflows/angr-release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/angr-release.yml b/.github/workflows/angr-release.yml index beab076..43acfec 100644 --- a/.github/workflows/angr-release.yml +++ b/.github/workflows/angr-release.yml @@ -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 == false }} + DRY_RUN: ${{ github.event_name != 'schedule' || github.event.inputs.dry_run == true }} 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 == false }} + DRY_RUN: ${{ github.event_name != 'schedule' || github.event.inputs.dry_run == true }} GH_TOKEN: ${{ secrets.GH_TOKEN }} # PyPI artifacts @@ -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) != true + if: github.event_name == 'schedule' || github.event.inputs.dry_run == false uses: pypa/gh-action-pypi-publish@release/v1 with: verbose: true