Skip to content

Commit

Permalink
test: fix bash quotes and other minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasfara committed Jan 31, 2023
1 parent 0cfc13e commit 0a40a80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@ jobs:
COMMAND='./gradlew --include-build ../publish-on-central createStagingRepositoryOnMavenCentral --parallel'
$(echo "$COMMAND") || $(echo "$COMMAND") || $(echo "$COMMAND")
[[ -e build/staging-repo-ids.properties ]]
[[ $(cat build/staging-repo-ids.properties) =~ "^MavenCentral=(.*)$" ]]
[[ "$(wc -l build/staging-repo-ids.properties)" =~ "^1 .*" ]]
[[ "$(cat build/staging-repo-ids.properties)" =~ '^MavenCentral=.+-\d+$' ]]
working-directory: kt-mp-multi-stage
should-run-codecov: false
should-deploy: true
Expand Down

0 comments on commit 0a40a80

Please sign in to comment.