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 12e0151 commit 919d5b6Copy full SHA for 919d5b6
.github/workflows/maven-publish.yml
@@ -6,6 +6,7 @@ name: Maven Package
6
on:
7
release:
8
types: [created]
9
+ workflow_dispatch:
10
11
jobs:
12
build:
@@ -27,3 +28,9 @@ jobs:
27
28
29
- name: Build with Maven
30
run: mvn -B package --file pom.xml
31
+
32
33
+ - name: Publish to GitHub Packages Apache Maven
34
+ run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
35
+ env:
36
+ GITHUB_TOKEN: ${{ PACKAGE }}
0 commit comments