We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2a862c0 + 49a8ef8 commit 1c85cbaCopy full SHA for 1c85cba
.github/workflows/github-packages-publish.yml
@@ -0,0 +1,20 @@
1
+# This workflow will build a package using Maven and then publish it to GitHub packages when a release is created
2
+# For more information see: https://github.com/actions/setup-java#apache-maven-with-a-settings-path
3
+
4
+name: Publish package to GitHub Packages
5
+on:
6
+ release:
7
+ types: [created]
8
+ workflow_dispatch:
9
+jobs:
10
+ publish:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ - uses: actions/setup-java@v1
15
+ with:
16
+ java-version: 1.8
17
+ - name: Publish package
18
+ run: gradle publish
19
+ env:
20
+ GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
0 commit comments