Skip to content

Commit 4c98101

Browse files
committed
Prepare the docker image before trying to install swiftly
1 parent 7b0c5e1 commit 4c98101

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/pull_request.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,16 @@ jobs:
3030
steps:
3131
- name: Checkout repository
3232
uses: actions/checkout@v4
33+
- name: Prepare image
34+
run: ./scripts/prep-gh-action.sh
3335
- name: Install swiftly
3436
run: curl -O https://download.swift.org/swiftly/linux/swiftly-0.4.0-dev-$(uname -m).tar.gz && tar zxf swiftly-*.tar.gz && ./swiftly init --skip-install
3537
- name: Install selected swift toolchain
3638
run: /root/.local/share/swiftly/bin/swiftly install --post-install=post-install.sh
3739
- name: Perform swift toolchain post-installation
3840
run: ./post-install.sh
3941
- name: Build and Test
40-
run: ./scripts/prep-gh-action.sh && ./scripts/install-libarchive.sh && /root/local/.share/swiftly/bin/swift test
42+
run: ./scripts/install-libarchive.sh && /root/local/.share/swiftly/bin/swift test
4143

4244
tests:
4345
name: Test

0 commit comments

Comments
 (0)