Skip to content

Commit

Permalink
Merge pull request #8 from aboutbits/fix-workflow
Browse files Browse the repository at this point in the history
fix workflow
SirCotare authored Sep 10, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents 719d256 + 0136804 commit e0d8f68
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
@@ -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

0 comments on commit e0d8f68

Please sign in to comment.