File tree 2 files changed +5
-13
lines changed
2 files changed +5
-13
lines changed Original file line number Diff line number Diff line change @@ -39,18 +39,13 @@ jobs:
39
39
40
40
- name : Build
41
41
id : build_jar
42
- run : |
43
- ./mvnw package
44
- echo current_version=$(echo $(./mvnw help:evaluate -Dexpression=project.version -q -DforceStdout)) >> $GITHUB_OUTPUT
45
-
46
- - name : Rename file
47
- run : mv ${{ github.workspace }}/target/quarkus-app/quarkus-run.jar ${{ github.workspace }}/target/quarkus-app/kafkagen-${{ steps.build_jar.outputs.current_version }}.jar
42
+ run : ./mvnw package -Dquarkus.package.jar.type=uber-jar
48
43
49
44
- name : Upload
50
45
uses : actions/upload-artifact@v4
51
46
with :
52
47
name : kafkagen-jar
53
- path : ${{ github.workspace }}/target/quarkus-app/kafkagen-${{ steps.build_jar.outputs.current_version }} .jar
48
+ path : ${{ github.workspace }}/target/*-runner .jar
54
49
55
50
- name : Docker
56
51
run : ./mvnw package -Dquarkus.container-image.build=true -Dquarkus.container-image.push=true -DskipTests
102
97
- name : Upload
103
98
uses : actions/upload-artifact@v4
104
99
with :
105
- name : kafkactl -${{ matrix.platform }}
100
+ name : kafkagen -${{ matrix.platform }}
106
101
path : ${{ github.workspace }}/target/**/*-runner
107
102
108
103
- name : Docker
Original file line number Diff line number Diff line change 37
37
- name : Build and test
38
38
id : build_jar
39
39
run : |
40
- ./mvnw package
40
+ ./mvnw package -Dquarkus.package.jar.type=uber-jar
41
41
echo current_version=$(echo $(./mvnw help:evaluate -Dexpression=project.version -q -DforceStdout)) >> $GITHUB_OUTPUT
42
42
43
43
- name : Publish test report
@@ -65,15 +65,12 @@ jobs:
65
65
env :
66
66
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
67
67
68
- - name : Rename file
69
- run : mv ${{ github.workspace }}/target/quarkus-app/quarkus-run.jar ${{ github.workspace }}/target/quarkus-app/kafkagen-${{ steps.build_jar.outputs.current_version }}.jar
70
-
71
68
- name : Update release
72
69
73
70
with :
74
71
token : ${{ secrets.GITHUB_TOKEN }}
75
72
body : ${{ steps.build_changelog.outputs.changelog }}
76
- artifacts : ${{ github.workspace }}/target/quarkus-app/ kafkagen-${{ steps.build_jar.outputs.current_version }}.jar
73
+ artifacts : ${{ github.workspace }}/target/kafkagen-${{ steps.build_jar.outputs.current_version }}-runner .jar
77
74
draft : true
78
75
prerelease : true
79
76
allowUpdates : true
You can’t perform that action at this time.
0 commit comments