Skip to content

Commit

Permalink
Update UploadReleaseGithub.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mnlatrifork committed Nov 24, 2023
1 parent 8c56c59 commit fa8c0de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/UploadReleaseGithub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
- uses: actions/checkout@v1
# Only release from main branch
- name: Upload if on main branch
if: endsWith(github.event.base_ref, 'test') == true
if: endsWith(github.event.base_ref, 'test04') == true
run: ./gradlew publish
# Only release from main branch
- name: Write if not in main branch
if: endsWith(github.event.base_ref, 'test') == false
if: endsWith(github.event.base_ref, 'test04') == false
run: echo NOT ON MAIN BRANCH

0 comments on commit fa8c0de

Please sign in to comment.