Skip to content

Commit

Permalink
unarchive tar directly
Browse files Browse the repository at this point in the history
  • Loading branch information
omochi committed May 10, 2024
1 parent 8e80e05 commit cb32bcc
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,20 +44,19 @@ jobs:
curl
binaryen
- run: curl -L -O https://download.swift.org/development/ubuntu2204/${{ env.SWIFT }}/${{ env.SWIFT }}-ubuntu22.04.tar.gz
- run: swift --version
- run: curl -LO https://download.swift.org/development/ubuntu2204/${{ env.SWIFT }}/${{ env.SWIFT }}-ubuntu22.04.tar.gz
working-directory: /home/runner
- run: tar xzf ${{ env.SWIFT }}-ubuntu22.04.tar.gz
- run: tar -xvf ${{ env.SWIFT }}-ubuntu22.04.tar.gz --strip-components=1 -C /
working-directory: /home/runner
- run: echo /home/runner/${{ env.SWIFT }}-ubuntu22.04/usr/bin >> ${GITHUB_PATH}
- run: swift --version
- run: >
swift sdk install
https://github.com/swiftwasm/swift/releases/download/${{ env.SWIFT_WASM }}/${{ env.SWIFT_WASM }}-wasm32-unknown-wasi.artifactbundle.zip
- run: curl -L -O https://github.com/omochi/carton-build/releases/download/snapshot-2024-04-16/carton.tar.gz
- run: curl -LO https://github.com/omochi/carton-build/releases/download/snapshot-2024-04-16/carton.tar.gz
working-directory: /home/runner
- run: tar xzf carton.tar.gz
- run: tar -xvf carton.tar.gz --strip-components=1 -C /usr/bin
working-directory: /home/runner
- run: echo /home/runner/carton >> ${GITHUB_PATH}
- run: carton --version

- run: swift package resolve
Expand Down

0 comments on commit cb32bcc

Please sign in to comment.