Skip to content

Commit

Permalink
fixing release and publish jobs (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
jharajeev55 authored Sep 19, 2024
1 parent d2b6854 commit 640a648
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

publish:
name: Publish
if: ${{ (endsWith(github.base_ref, 'main') && (contains(github.head_ref, 'release/')) && github.event.pull_request.merged ) }}
if: ${{ (endsWith(github.base_ref, 'main') && (contains(github.head_ref, 'release/')) || github.event.pull_request.merged ) }}
needs:
- package
runs-on: ubuntu-latest
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:

release:
name: Release
if: ${{ (endsWith(github.base_ref, 'main') && (contains(github.head_ref, 'release/')) && github.event.pull_request.merged ) }}
if: ${{ (endsWith(github.base_ref, 'main') && (contains(github.head_ref, 'release/')) || github.event.pull_request.merged ) }}
needs:
- publish
runs-on: ubuntu-latest
Expand Down

0 comments on commit 640a648

Please sign in to comment.