File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 38
38
# TODO: not using setup-java since incompatible with the swiftlang/swift base image
39
39
- name : Install Untested Nightly Swift
40
40
run : " bash -xc './docker/install_untested_nightly_swift.sh'"
41
+ # setup caches
41
42
- name : Cache local Gradle repository
42
43
uses : actions/cache@v4
43
44
continue-on-error : true
57
58
restore-keys : |
58
59
${{ runner.os }}-swiftpm-cache
59
60
${{ runner.os }}-swiftpm-
61
+ # run the actual build
60
62
- name : Gradle build
61
63
run : ./gradlew update --info --no-daemon
62
64
- name : Debug HOME Paths
@@ -87,15 +89,27 @@ jobs:
87
89
run : " bash -xc 'JDK_VENDOR=${{ matrix.jdk_vendor }} ./docker/install_jdk.sh'"
88
90
- name : Install Untested Nightly Swift
89
91
run : " bash -xc './docker/install_untested_nightly_swift.sh'"
92
+ # setup caches
93
+ - name : Cache local Gradle repository
94
+ uses : actions/cache@v4
95
+ continue-on-error : true
96
+ with :
97
+ path : |
98
+ /root/.gradle/caches
99
+ /root/.gradle/wrapper
100
+ key : ${{ runner.os }}-gradle-${{ hashFiles('*/*.gradle*', 'settings.gradle') }}
101
+ restore-keys : |
102
+ ${{ runner.os }}-gradle-
90
103
- name : Cache local SwiftPM repository
91
104
uses : actions/cache@v4
92
105
continue-on-error : true
93
106
with :
94
- path : ~ /.build/checkouts
107
+ path : /__w/swift-java/swift-java /.build/checkouts
95
108
key : ${{ runner.os }}-swiftpm-cache-${{ hashFiles('Package.swift') }}
96
109
restore-keys : |
97
110
${{ runner.os }}-swiftpm-cache
98
111
${{ runner.os }}-swiftpm-
112
+ # run the actual build
99
113
- name : Generate sources (make) (Temporary)
100
114
# TODO: this should be triggered by the respective builds
101
115
run : " make jextract-run"
You can’t perform that action at this time.
0 commit comments