Skip to content

Commit d26411d

Browse files
committed
debugging
1 parent b950ce1 commit d26411d

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.github/workflows/pull_request.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ jobs:
5858
${{ runner.os }}-swiftpm-
5959
- name: Gradle build
6060
run: ./gradlew build --info --no-daemon
61+
- name: List files for debugging
62+
run: ls -R .
6163

6264
test-swift:
6365
name: Swift tests (swift:${{ matrix.swift_version }} jdk:${{matrix.jdk_vendor}} os:${{ matrix.os_version }})
@@ -84,7 +86,7 @@ jobs:
8486
uses: actions/cache@v4
8587
continue-on-error: true
8688
with:
87-
path: ~/.gradle/cache
89+
path: ~/.swiftpm/cache
8890
key: ${{ runner.os }}-swiftpm-cache-${{ hashFiles('Package.swift') }}
8991
restore-keys: |
9092
${{ runner.os }}-swiftpm-cache

docker/install_untested_nightly_swift.sh

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,7 @@ if [[ "$(grep "22.04" /etc/lsb-release)" = "" ]]; then
2424
fi
2525

2626
UNTESTED_TOOLCHAIN_URL=$(curl -s $SWIFT_UNTESTED_TOOLCHAIN_JOB_URL | grep 'Toolchain: ' | sed 's/Toolchain: //g')
27-
UNTESTED_TOOLCHAIN_FILENAME=$(echo "$UNTESTED_TOOLCHAIN_URL" | awk '
28-
function basename(file) {
29-
sub(".*/", "", file)
30-
return file
31-
}
32-
{print FILENAME, basename(FILENAME)}')
27+
UNTESTED_TOOLCHAIN_FILENAME=$"toolchain.tar.gz"
3328

3429
echo "Download toolchain: $UNTESTED_TOOLCHAIN_URL"
3530

0 commit comments

Comments
 (0)