We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b0f080 commit 4888b7aCopy full SHA for 4888b7a
1 file changed
.github/workflows/main.yml
@@ -0,0 +1,20 @@
1
+name: Publish package to GitHub Packages
2
+on:
3
+ release:
4
+ types: [created]
5
+jobs:
6
+ publish:
7
+ runs-on: ubuntu-latest
8
+ permissions:
9
+ contents: read
10
+ packages: write
11
+ steps:
12
+ - uses: actions/checkout@v3
13
+ - uses: actions/setup-java@v3
14
+ with:
15
+ java-version: '11'
16
+ distribution: 'adopt'
17
+ - name: Publish package
18
+ run: mvn --batch-mode deploy
19
+ env:
20
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments