File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -122,11 +122,12 @@ jobs:
122
122
path : ./swift-test-results.tar.gz
123
123
124
124
# Run e2e test
125
- - name : Run E2E test
125
+ - name : Prepare E2E test
126
126
working-directory : ${{ github.workspace }}/../
127
127
run : |
128
- tar xf swift-wasm-$TOOLCHAIN_CHANNEL-SNAPSHOT-${{ matrix.target }}.tar.gz
129
- echo "TOOLCHAIN=$(find "$PWD" -name "swift-wasm-$TOOLCHAIN_CHANNEL-*" -type d)" >> $GITHUB_ENV
128
+ INSTALL_DIR=$(mktemp -d)
129
+ tar xf swift-wasm-$TOOLCHAIN_CHANNEL-SNAPSHOT-${{ matrix.target }}.tar.gz -C "$INSTALL_DIR"
130
+ echo "TOOLCHAIN=$(find "$INSTALL_DIR" -name "swift-wasm-$TOOLCHAIN_CHANNEL-*" -type d | head -n1)" >> $GITHUB_ENV
130
131
- name : Build hello.wasm
131
132
shell : bash
132
133
if : ${{ matrix.build_hello_wasm }}
You can’t perform that action at this time.
0 commit comments