Commit e1dae53 1 parent d42081e commit e1dae53 Copy full SHA for e1dae53
File tree 3 files changed +5
-4
lines changed
3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 54
54
shell : bash
55
55
run : |
56
56
cd cli
57
- mvn -B -ntp -Dideasy.assembly.id=${{ matrix.os }} -Pnative -DskipTests=true package
57
+ mvn -B -ntp -Dideasy.assembly.id=${{ matrix.os }} -Pnative -DskipTests=true compile
58
58
- name : Upload native image
59
59
uses : actions/upload-artifact@v4
60
60
with :
Original file line number Diff line number Diff line change 59
59
maven_config="$(cat .mvn/maven.config)"
60
60
current_version="${maven_config/#*-Drevision=}"
61
61
current_version="${current_version/ */}"
62
+ next_version="${current_version/-SNAPSHOT/}"
62
63
cd cli
63
- mvn -B -ntp -Dideasy.assembly.id=${{ matrix.os }} -Pnative -DskipTests=true package
64
+ mvn -B -ntp -Drevision=${next_version} - Dideasy.assembly.id=${{ matrix.os }} -Pnative -DskipTests=true compile
64
65
- name : Upload native image
65
66
uses : actions/upload-artifact@v4
66
67
with :
Original file line number Diff line number Diff line change 158
158
<goals >
159
159
<goal >compile-no-fork</goal >
160
160
</goals >
161
- <phase >package </phase >
161
+ <phase >compile </phase >
162
162
</execution >
163
163
<execution >
164
164
<id >test-native</id >
196
196
<goal >single</goal >
197
197
</goals >
198
198
<configuration >
199
- <finalName >${project.artifactId} </finalName >
199
+ <finalName >${project.artifactId} - ${revision} - </finalName >
200
200
<appendAssemblyId >true</appendAssemblyId >
201
201
<descriptors >
202
202
<descriptor >/src/main/assembly/release-${ideasy.assembly.id} .xml</descriptor >
You can’t perform that action at this time.
0 commit comments