Use unified unzip on unit tests

This commit is contained in:
Daniel Imms
2023-09-02 08:33:01 -07:00
parent 2269e92c88
commit 2b5ebb2b7b
+7 -5
View File
@@ -133,12 +133,14 @@ jobs:
- uses: actions/download-artifact@v3
with:
name: build-artifacts
- name: Unzip artifacts (Linux, macOS)
- name: Unzip artifacts
if: runner.os != 'Windows'
run: unzip -o compressed-build.zip
- name: Unzip artifacts (Windows)
if: runner.os == 'Windows'
run: 7z x compressed-build.zip -aoa -o${{ github.workspace }}
run: |
if [ "$RUNNER_OS" == "Windows" ]; then
7z x compressed-build.zip -aoa -o${{ github.workspace }}
else
unzip -o compressed-build.zip
fi
- name: Print directory structure
run: ls -R
- name: Unit tests