File tree 2 files changed +9
-9
lines changed
e2e/spring-shell-e2e-tests/src
2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 28
28
with :
29
29
distribution : adopt
30
30
java-version : 17
31
- cache : maven
31
+ cache : gradle
32
32
- uses : graalvm/setup-graalvm@v1
33
33
with :
34
34
version : ${{ matrix.graal }}
@@ -40,15 +40,15 @@ jobs:
40
40
with :
41
41
node-version : ' 16'
42
42
- run : |
43
- ./mvnw clean package -Pnativex
43
+ ./gradlew clean build nativeCompile
44
44
- uses : actions/upload-artifact@v2
45
45
with :
46
46
name : spring-shell-samples-${{ matrix.nickname }}
47
47
retention-days : 1
48
48
path : |
49
- spring-shell-samples/target /*.jar
50
- spring-shell-samples/target /spring-shell-samples
51
- spring-shell-samples/target /spring-shell-samples.exe
49
+ spring-shell-samples/build/libs /*.jar
50
+ spring-shell-samples/build/native/nativeCompile /spring-shell-samples
51
+ spring-shell-samples/build/native/nativeCompile /spring-shell-samples.exe
52
52
- name : compile e2e module
53
53
working-directory : e2e/spring-shell-e2e
54
54
run : |
Original file line number Diff line number Diff line change @@ -4,11 +4,11 @@ import * as path from 'path';
4
4
export const tempDir = path . join ( __dirname , 'spring-shell' , 'temp' ) ;
5
5
export const isWindows = os . platform ( ) === 'win32' ;
6
6
export const cliPathRelative = isWindows
7
- ? '..\\..\\spring-shell-samples\\target \\spring-shell-samples.exe'
8
- : '../../spring-shell-samples/target /spring-shell-samples' ;
7
+ ? '..\\..\\spring-shell-samples\\build\\native\\nativeCompile \\spring-shell-samples.exe'
8
+ : '../../spring-shell-samples/build/native/nativeCompile /spring-shell-samples' ;
9
9
export const jarPathRelative = isWindows
10
- ? '..\\..\\spring-shell-samples\\target\\ spring-shell-samples-3.0.0-SNAPSHOT-exec .jar'
11
- : '../../spring-shell-samples/target/ spring-shell-samples-3.0.0-SNAPSHOT-exec .jar' ;
10
+ ? '..\\..\\spring-shell-samples\\build\\libs\\ spring-shell-samples-3.0.0-SNAPSHOT.jar'
11
+ : '../../spring-shell-samples/build/libs/ spring-shell-samples-3.0.0-SNAPSHOT.jar' ;
12
12
export const cliPath = path . resolve ( cliPathRelative ) ;
13
13
export const jarPath = path . resolve ( jarPathRelative ) ;
14
14
export const nativeDesc = 'native' ;
You can’t perform that action at this time.
0 commit comments