👷 (build): Push JVM after JVM test
Changes
1 file changed, +16 -16
MODIFY
.github/workflows/ci.yml
+16 -16
@@ -18,22 +18,6 @@
18
18
- name: Run JVM tests
19
19
run: ./mvnw -B test
20
20
21
- native-build-and-smoke:
22
- # Native build + native integration tests gate every main-branch build
23
- # so native-image regressions surface at merge time, not release time.
24
- if: github.ref == 'refs/heads/main'
25
- runs-on: ubuntu-latest
26
- needs: jvm-tests
27
- steps:
28
- - uses: actions/checkout@v4
29
- - uses: actions/setup-java@v4
30
- with:
31
- distribution: temurin
32
- java-version: '21'
33
- cache: maven
34
- - name: Native build + integration smoke tests
35
- run: ./mvnw -B verify -Dnative -Dquarkus.native.container-build=true
36
-
37
21
jvm-image:
38
22
# Publish the JVM container image to GHCR once tests and the native gate pass.
39
23
if: github.ref == 'refs/heads/main'
@@ -73,3 +57,19 @@
73
57
push: true
74
58
tags: ${{ steps.meta.outputs.tags }}
75
59
labels: ${{ steps.meta.outputs.labels }}
60
+
61
+ native-build-and-smoke:
62
+ # Native build + native integration tests gate every main-branch build
63
+ # so native-image regressions surface at merge time, not release time.
64
+ if: github.ref == 'refs/heads/main'
65
+ runs-on: ubuntu-latest
66
+ needs: jvm-tests
67
+ steps:
68
+ - uses: actions/checkout@v4
69
+ - uses: actions/setup-java@v4
70
+ with:
71
+ distribution: temurin
72
+ java-version: '21'
73
+ cache: maven
74
+ - name: Native build + integration smoke tests
75
+ run: ./mvnw -B verify -Dnative -Dquarkus.native.container-build=true