Skip to content

Commit

Permalink
Merge pull request #7 from aboutbits/fix-workflow
Browse files Browse the repository at this point in the history
fix workflow
  • Loading branch information
SirCotare authored Sep 10, 2024
2 parents 5e2099a + 5084743 commit 3168920
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,16 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: aboutbits/github-actions-java/setup-and-install@v3
- uses: aboutbits/github-actions-java/setup@v3

- name: Set Version
run: sed -i 's|<version>BUILD-SNAPSHOT</version>|<version>${{ github.event.inputs.version }}</version>|g' pom.xml

- name: Publish package
run: mvn --batch-mode deploy
run: mvn -s $GITHUB_WORKSPACE/.github/workflows/maven-settings.xml --batch-mode deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_USER_NAME: ${{ github.actor }}
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}

tag:
timeout-minutes: 5
Expand Down

0 comments on commit 3168920

Please sign in to comment.