Change e2e tests for gradle changes

- Fix e2e workflow to build with gradle.
- Fix e2e paths to ones generated by gradle.
- Relates #470
This commit is contained in:
Janne Valkealahti
2022-08-17 08:52:19 +01:00
parent fee09f9ff5
commit 212ee43989
2 changed files with 9 additions and 9 deletions

View File

@@ -28,7 +28,7 @@ jobs:
with:
distribution: adopt
java-version: 17
cache: maven
cache: gradle
- uses: graalvm/setup-graalvm@v1
with:
version: ${{ matrix.graal }}
@@ -40,15 +40,15 @@ jobs:
with:
node-version: '16'
- run: |
./mvnw clean package -Pnativex
./gradlew clean build nativeCompile
- uses: actions/upload-artifact@v2
with:
name: spring-shell-samples-${{ matrix.nickname }}
retention-days: 1
path: |
spring-shell-samples/target/*.jar
spring-shell-samples/target/spring-shell-samples
spring-shell-samples/target/spring-shell-samples.exe
spring-shell-samples/build/libs/*.jar
spring-shell-samples/build/native/nativeCompile/spring-shell-samples
spring-shell-samples/build/native/nativeCompile/spring-shell-samples.exe
- name: compile e2e module
working-directory: e2e/spring-shell-e2e
run: |