File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -40,24 +40,32 @@ jobs:
40
40
restore-keys : ${{ runner.os }}-gradle
41
41
- name : ' 🐳 Validate Gradle Wrapper'
42
42
uses : gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
43
+
44
+ # Without the check task (or similar) we wouldn't be running the UI tests
43
45
- name : ' 🐳 Gradle run tests'
44
46
uses : gradle/gradle-build-action@4137be6a8bf7d7133955359dbd952c0ca73b1021
45
47
with :
46
48
arguments : check nativeTest
49
+
50
+ # If the tests pass, and we're on the develop branch, then deploy the regular image to Google
47
51
deploy :
48
52
runs-on : ubuntu-latest
49
53
needs : [build-and-test]
50
- if : github.ref == 'refs/heads/develop' || github.ref == 'feature-2532/graal'
54
+ if : github.ref == 'refs/heads/develop'
51
55
steps :
52
56
- name : ' 🚀 Deploy Image to Cloud Run'
53
57
uses : ' ./.github/workflows/gradle-deploy-develop.yml'
58
+
59
+ # If the tests pass, and we're on the develop branch, then deploy the native image to Google
54
60
deploy-native :
55
61
runs-on : ubuntu-latest
56
62
needs : [build-and-test]
57
- if : github.ref == 'refs/heads/develop' || github.ref == 'feature-2532/graal'
63
+ if : github.ref == 'refs/heads/develop' || github.ref_name == 'feature-2532/graal'
58
64
steps :
59
65
- name : ' 🚀 Deploy Native Image to Cloud Run'
60
66
uses : ' ./.github/workflows/gradle-deploy-native-develop.yml'
67
+
68
+ # When finished, do something so the pipeline goes green
61
69
finalize :
62
70
runs-on : ubuntu-latest
63
71
needs : [deploy, deploy-native]
You can’t perform that action at this time.
0 commit comments