Skip to content

Commit

Permalink
test: test if file exists and match the regex
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasfara committed Jan 31, 2023
1 parent f494f34 commit f484754
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,9 @@ jobs:
COMMAND='./gradlew --include-build ../publish-on-central createStagingRepositoryOnMavenCentral --parallel'
$(echo "$COMMAND") || $(echo "$COMMAND") || $(echo "$COMMAND")
REPO_IDS='cat build/staging-repo-ids.properties'
$(echo "$REPO_IDS") || $(echo "$REPO_IDS") || $(echo "$REPO_IDS")
working-directory: kt-mp
[[ -e build/staging-repo-ids.properties ]]
[[ $(cat build/staging-repo-ids.properties) =~ "^MavenCentral=(.*)$" ]]
working-directory: kt-mp-multi-stage
should-run-codecov: false
should-deploy: true
maven-central-password: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
Expand Down

0 comments on commit f484754

Please sign in to comment.