Skip to content

Commit b819156

Browse files
Another try+#
1 parent 753f243 commit b819156

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/maven-publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ jobs:
3030
- name: Build with Maven
3131
run: mvn -B package --file pom.xml
3232

33+
- name: Publish to GitHub Packages Apache Maven
34+
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
35+
env:
36+
GITHUB_TOKEN: ${{ github.token }}
37+
3338
- name: Extract Maven project version
3439
run: echo ::set-output name=version::$(mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec)
3540
id: project
@@ -54,8 +59,3 @@ jobs:
5459
asset_path: '${{ github.workspace }}/target/guacamole-docker-manager-${{ steps.project.outputs.version }}.jar'
5560
asset_name: guacamole-docker-manager.jar
5661
asset_content_type: application/jar
57-
58-
- name: Publish to GitHub Packages Apache Maven
59-
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
60-
env:
61-
GITHUB_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)