Skip to content

Commit a1537c8

Browse files
Update actions/checkout to v2
1 parent 9d4f91f commit a1537c8

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/build-toolchain.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,10 @@ jobs:
5151
docker rmi $(docker image ls -aq)
5252
df -h
5353
54-
- uses: actions/checkout@v1
54+
- uses: actions/checkout@v2
5555
with:
5656
path: swift
57+
fetch-depth: 0
5758

5859
- name: Prepare sccache timestamp
5960
id: cache_timestamp
@@ -64,7 +65,7 @@ jobs:
6465
6566
- uses: actions/cache@v1
6667
with:
67-
path: ../build-cache
68+
path: build-cache
6869
key: ${{ matrix.target }}-sccache-v10-${{ steps.cache_timestamp.outputs.timestamp }}
6970
restore-keys: |
7071
${{ matrix.target }}-sccache-v10-
@@ -82,7 +83,7 @@ jobs:
8283
8384
case "${{ matrix.target }}" in
8485
"ubuntu20.04_x86_64" | "ubuntu18.04_x86_64" | "macos_x86_64")
85-
./utils/webassembly/ci.sh
86+
./swift/utils/webassembly/ci.sh
8687
;;
8788
*)
8889
echo "Unrecognised target: ${{ matrix.target }}"
@@ -94,13 +95,12 @@ jobs:
9495
uses: actions/upload-artifact@v1
9596
with:
9697
name: ${{ matrix.target }}-installable
97-
path: ../swift-wasm-${{ env.TOOLCHAIN_CHANNEL }}-SNAPSHOT-${{ matrix.target }}.tar.gz
98+
path: swift-wasm-${{ env.TOOLCHAIN_CHANNEL }}-SNAPSHOT-${{ matrix.target }}.tar.gz
9899

99100
- name: Pack test results
100101
if: ${{ matrix.run_full_test }}
101-
working-directory: ${{ github.workspace }}/../
102102
run: |
103-
tar cJf ./swift/swift-test-results.tar.gz target-build/swift-stdlib-wasi-wasm32/swift-test-results
103+
tar cJf ./swift-test-results.tar.gz target-build/swift-stdlib-wasi-wasm32/swift-test-results
104104
- name: Upload test results
105105
uses: actions/upload-artifact@v1
106106
if: ${{ matrix.run_full_test }}
@@ -110,7 +110,6 @@ jobs:
110110

111111
# Run e2e test
112112
- name: Prepare E2E test
113-
working-directory: ${{ github.workspace }}/../
114113
run: |
115114
INSTALL_DIR=$(mktemp -d)
116115
tar xf swift-wasm-$TOOLCHAIN_CHANNEL-SNAPSHOT-${{ matrix.target }}.tar.gz -C "$INSTALL_DIR"

0 commit comments

Comments
 (0)