Skip to content

Commit

Permalink
fix maven settings (via #342)
Browse files Browse the repository at this point in the history
  • Loading branch information
eroshenkoam committed Oct 23, 2023
1 parent c218b6d commit 1e8527b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Expand Up @@ -15,8 +15,11 @@ jobs:
java-version: '11'
cache: 'maven'
server-id: maven.jenkins-ci.org
server-username: ${{ secrets.JENKINS_USERNAME }}
server-password: ${{ secrets.JENKINS_TOKEN }}
server-username: JENKINS_USERNAME
server-password: JENKINS_TOKEN
- run: |
./mvnw versions:set -DnewVersion=${GITHUB_REF:10}
./mvnw deploy
env:
JENKINS_USERNAME: ${{ secrets.JENKINS_USERNAME }}
JENKINS_TOKEN: ${{ secrets.JENKINS_TOKEN }}

0 comments on commit 1e8527b

Please sign in to comment.