From 7c434a0566a4d89f2f1ce148e7a528f96f90db51 Mon Sep 17 00:00:00 2001 From: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Sat, 2 Sep 2023 08:30:14 -0700 Subject: [PATCH] Merge unzip steps --- .github/workflows/ci.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1bfe456b..bded412c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -90,12 +90,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 test coverage