Skip to content

Commit

Permalink
Fix invocation of publish so "true" is not passed to Gradle (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
cacay authored Feb 18, 2022
1 parent 77788ff commit 76d3b3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
uses: gradle/gradle-build-action@v2
with:
arguments: >
${{ github.event_name == 'release' || '--dry-run' }}
${{ github.event_name != 'release' && '--dry-run' || '' }}
-x classes -x javadocJar -x sourcesJar
publish closeSonatypeStagingRepository
env:
Expand Down

0 comments on commit 76d3b3f

Please sign in to comment.