Skip to content

Commit

Permalink
fix maven-publish condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Quillraven authored Jul 17, 2023
1 parent dbf38d6 commit 1336150
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ concurrency:

jobs:
maven-publish:
if: ${{ github.event.workflow_run.conclusion == 'success' && github.ref == 'master' }}
if: ${{ (github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/master' }}
runs-on: macos-latest # macOS supports building all Kotlin targets

permissions:
Expand Down

0 comments on commit 1336150

Please sign in to comment.