36
36
- name : Install JDK
37
37
run : " bash -xc 'JDK_VENDOR=${{ matrix.jdk_vendor }} ./docker/install_jdk.sh'"
38
38
# TODO: not using setup-java since incompatible with the swiftlang/swift base image
39
- - name : Install Nightly Swift
39
+ - name : Install Untested Nightly Swift
40
40
run : " bash -xc './docker/install_untested_nightly_swift.sh'"
41
41
- name : Cache local Gradle repository
42
42
uses : actions/cache@v4
@@ -45,24 +45,20 @@ jobs:
45
45
path : |
46
46
~/.gradle/caches
47
47
~/.gradle/wrapper
48
- key : ${{ runner.os }}-gradle-${{ hashFiles('** /*.gradle*', '**/gradle-wrapper.properties ') }}
48
+ key : ${{ runner.os }}-gradle-${{ hashFiles('*/*.gradle*', 'settings.gradle ') }}
49
49
restore-keys : |
50
50
${{ runner.os }}-gradle-
51
51
- name : Cache local SwiftPM repository
52
52
uses : actions/cache@v4
53
53
continue-on-error : true
54
54
with :
55
- path : ~/ .build/checkouts
55
+ path : .build/checkouts
56
56
key : ${{ runner.os }}-swiftpm-cache-${{ hashFiles('Package.swift') }}
57
57
restore-keys : |
58
58
${{ runner.os }}-swiftpm-cache
59
59
${{ runner.os }}-swiftpm-
60
60
- name : Gradle build
61
61
run : ./gradlew update --info --no-daemon
62
- - name : List files for debugging
63
- run : pwd && find $(pwd)
64
- - name : List home files for debugging
65
- run : find ~/
66
62
67
63
test-swift :
68
64
name : Swift tests (swift:${{ matrix.swift_version }} jdk:${{matrix.jdk_vendor}} os:${{ matrix.os_version }})
83
79
run : apt-get -qq update && apt-get -qq install -y make curl wget
84
80
- name : Install JDK
85
81
run : " bash -xc 'JDK_VENDOR=${{ matrix.jdk_vendor }} ./docker/install_jdk.sh'"
86
- - name : Install Nightly Swift
82
+ - name : Install Untested Nightly Swift
87
83
run : " bash -xc './docker/install_untested_nightly_swift.sh'"
88
84
- name : Cache local SwiftPM repository
89
85
uses : actions/cache@v4
0 commit comments