Id cannot contain spaces

This commit is contained in:
Cédric Couralet 2021-05-01 22:05:30 +02:00 committed by GitHub
parent ac7c937753
commit f6fefb0435
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,7 @@ jobs:
--batch-mode \ --batch-mode \
-Dgpg.passphrase=${{ secrets.OSSRH_GPG_KEY_PASSWORD }} \ -Dgpg.passphrase=${{ secrets.OSSRH_GPG_KEY_PASSWORD }} \
clean deploy clean deploy
- id: push new version - id: push-new-version
name: push new version name: push new version
run: | run: |
git clone https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{github.repository}}.git git clone https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{github.repository}}.git
@ -40,4 +40,4 @@ jobs:
git config --local user.name "github-actions[bot]" git config --local user.name "github-actions[bot]"
mvn -B versions:set -DnextSnapshot -DgenerateBackupPoms=false mvn -B versions:set -DnextSnapshot -DgenerateBackupPoms=false
git commit -a -m"Prepare new version" git commit -a -m"Prepare new version"
git push git push