Skip to content

Commit

Permalink
Fixing working directory for maven commands in release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaytotomato committed Aug 13, 2024
1 parent 618b729 commit f73b58c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,17 @@ jobs:

- name: Build with Maven
run: mvn clean verify
working-directory: location4j
env:
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}

- name: Package with Maven
run: mvn versions:set -DnewVersion=${{ env.RELEASE_VERSION }} && mvn package -DskipTests
working-directory: location4j

- name: Deploy Github and Maven Central
run: mvn deploy
working-directory: location4j
env:
GITHUB_USERNAME: ${{ secrets.GITHUB_ACTOR }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f73b58c

Please sign in to comment.