Skip to content

Commit

Permalink
Refix release condition
Browse files Browse the repository at this point in the history
  • Loading branch information
wobba committed Aug 30, 2024
1 parent 4d81c09 commit abd0d02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ jobs:
release:
runs-on: ubuntu-latest
environment: production
needs: build
if: ${{ github.ref_name == 'main' || startsWith(github.ref_name, 'release') || github.event.inputs.create_release }}
needs: build
if: contains(needs.build.outputs['branchName'], 'main')
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -96,7 +96,7 @@ jobs:
commit: ${{ github.ref_name }}

- name: Setup python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.x

Expand Down

0 comments on commit abd0d02

Please sign in to comment.