File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 28
28
settings-path : ${{ github.workspace }} # location for the settings.xml file
29
29
30
30
- name : Build with Maven
31
- run : mvn -B package --file pom.xml
31
+ run : mvn -B package assembly:single --file pom.xml
32
32
33
33
- name : Publish to GitHub Packages Apache Maven
34
34
run : mvn deploy -s $GITHUB_WORKSPACE/settings.xml
50
50
draft : false
51
51
prerelease : false
52
52
53
- - name : upload darwin artifact
53
+ - name : Upload normal JAR artifact
54
54
uses : actions/upload-release-asset@v1
55
55
env :
56
56
GITHUB_TOKEN : ${{ github.token }}
59
59
asset_path : ' ${{ github.workspace }}/target/guacamole-docker-manager-${{ steps.project.outputs.version }}.jar'
60
60
asset_name : guacamole-docker-manager.jar
61
61
asset_content_type : application/jar
62
+
63
+ - name : Upload JAR with dependency artifact
64
+ uses : actions/upload-release-asset@v1
65
+ env :
66
+ GITHUB_TOKEN : ${{ github.token }}
67
+ with :
68
+ upload_url : ${{ steps.create_release.outputs.upload_url }}
69
+ asset_path : ' ${{ github.workspace }}/target/guacamole-docker-manager-${{ steps.project.outputs.version }}-jar-with-dependencies-and-exclude-classes.jar'
70
+ asset_name : guacamole-docker-manager-jar-with-dependencies-and-exclude-classes.jar
71
+ asset_content_type : application/jar
Original file line number Diff line number Diff line change 28
28
distribution : ' temurin'
29
29
cache : maven
30
30
- name : Build with Maven
31
- run : mvn -B package --file pom.xml
31
+ run : mvn -B package assembly:single --file pom.xml
32
32
33
33
# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
34
34
- name : Update dependency graph
You can’t perform that action at this time.
0 commit comments