From d985df4a46cd9d39a117b04cf4756c992517e9e8 Mon Sep 17 00:00:00 2001 From: omochimetaru Date: Tue, 16 Apr 2024 23:02:43 +0900 Subject: [PATCH] use prebuilt carton --- .github/workflows/test.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ea2307a..e2dc49a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -54,11 +54,12 @@ jobs: swift experimental-sdk install https://github.com/swiftwasm/swift/releases/download/${{ env.SWIFT_WASM }}/${{ env.SWIFT_WASM }}-ubuntu22.04_x86_64.artifactbundle.zip - - run: git clone --depth 1 https://github.com/swiftwasm/carton + - run: curl -L -O https://github.com/omochi/carton-build/releases/download/0.0.2/carton.tar.gz working-directory: /home/runner - - run: swift build -c release - working-directory: /home/runner/carton - - run: echo /home/runner/carton/.build/release >> ${GITHUB_PATH} + - run: tar xzf arton.tar.gz + working-directory: /home/runner + - run: echo /home/runner/carton >> ${GITHUB_PATH} + - run: carton --version - uses: actions/checkout@v4