Skip to content

Commit

Permalink
Escape exclamation mark
Browse files Browse the repository at this point in the history
  • Loading branch information
cowwoc committed May 23, 2024
1 parent 4c702cc commit a9889bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy_to_maven_central.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,10 @@ jobs:
!~/.m2/repository/com/github/cowwoc/requirements
key: "${{ runner.OS }}-maven-${{ hashFiles('**/pom.xml') }}"

# Need to escape exclamation mark: https://stackoverflow.com/a/27177197/14731
- name: Deploy to Maven Central
run: >
./mvnw --batch-mode -V -e -pl "!benchmark"
./mvnw --batch-mode -V -e -pl '!benchmark'
-Dstaging_repository_id=${{ needs.open-release.outputs.STAGING_REPOSITORY_ID }}
-Dstaging_host="${{ env.STAGING_HOST }}"
deploy
Expand Down

0 comments on commit a9889bf

Please sign in to comment.