Skip to content

Commit

Permalink
Fixed maven deploy plugin version
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaytotomato committed Aug 9, 2024
1 parent 171679c commit 7942948
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ jobs:
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV

- name: Build with Maven
run: mvn clean verify -pl library -am
run: mvn clean verify
env:
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}

- name: Package with Maven
run: mvn versions:set -DnewVersion=${{ env.RELEASE_VERSION }} -pl library -am && mvn package -DskipTests -pl library -am
run: mvn versions:set -DnewVersion=${{ env.RELEASE_VERSION }} && mvn package -DskipTests

- name: Deploy Github and Maven Central
run: mvn deploy -pl library -am -Prelease
run: mvn deploy
env:
GITHUB_USERNAME: ${{ secrets.GITHUB_ACTOR }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 7942948

Please sign in to comment.