Use unified unzip on unit tests
This commit is contained in:
@@ -133,12 +133,14 @@ jobs:
|
|||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: build-artifacts
|
name: build-artifacts
|
||||||
- name: Unzip artifacts (Linux, macOS)
|
- name: Unzip artifacts
|
||||||
if: runner.os != 'Windows'
|
if: runner.os != 'Windows'
|
||||||
run: unzip -o compressed-build.zip
|
run: |
|
||||||
- name: Unzip artifacts (Windows)
|
if [ "$RUNNER_OS" == "Windows" ]; then
|
||||||
if: runner.os == 'Windows'
|
7z x compressed-build.zip -aoa -o${{ github.workspace }}
|
||||||
run: 7z x compressed-build.zip -aoa -o${{ github.workspace }}
|
else
|
||||||
|
unzip -o compressed-build.zip
|
||||||
|
fi
|
||||||
- name: Print directory structure
|
- name: Print directory structure
|
||||||
run: ls -R
|
run: ls -R
|
||||||
- name: Unit tests
|
- name: Unit tests
|
||||||
|
|||||||
Reference in New Issue
Block a user