Skip to content

Commit

Permalink
Merge pull request #2 from FLAGlab/add-github-action-maven-release
Browse files Browse the repository at this point in the history
Add MAVEN release
  • Loading branch information
vparrac authored Feb 13, 2024
2 parents 4f17458 + 5cfd5c5 commit 7a7db9b
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/maven_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Publish package to GitHub Packages
on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Publish package
run: mvn --batch-mode deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 7a7db9b

Please sign in to comment.