Skip to content

Commit

Permalink
pom.xml was refactored for maven central publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
vladyslav-tertyshnyi-ew committed Jun 22, 2023
1 parent c812636 commit 9605b86
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Publish package to GitHub Packages
on: push
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
- name: Publish package
run: mvn --batch-mode deploy
env:
GITHUB_TOKEN: ${{ secrets.JAVA_TOKEN }}

0 comments on commit 9605b86

Please sign in to comment.