From 35763f9cba2d43421e38e5cf11edd9622cf71bf0 Mon Sep 17 00:00:00 2001 From: John Safranek Date: Fri, 17 May 2024 15:55:55 -0700 Subject: [PATCH] Move the path to wolfssl --- .github/workflows/os-check.yml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/os-check.yml b/.github/workflows/os-check.yml index 30d2d574d..8637545c6 100644 --- a/.github/workflows/os-check.yml +++ b/.github/workflows/os-check.yml @@ -27,8 +27,8 @@ jobs: uses: actions/cache@v4 id: cache-wolfssl with: - path: opt/wolfssl/${{ matrix.os }}/ - key: wolfssh-common-wolfssl-${{ env.WOLFSSL_REF }}-${{ matrix.os }} + path: build-dir/ + key: wolfssh-os-check-wolfssl-${{ env.WOLFSSL_REF }}-${{ matrix.os }} lookup-only: true - name: Checkout, build, and install wolfssl @@ -42,12 +42,6 @@ jobs: check: false install: true - - shell: bash - if: steps.cache-wolfssl.outputs.cache-hit != 'true' - run: | - mkdir -p opt/wolfssl - mv build-dir opt/wolfssl/${{ matrix.os }} - build_wolfssh: strategy: fail-fast: false @@ -68,8 +62,8 @@ jobs: - name: Checking cache for wolfssl uses: actions/cache@v4 with: - path: opt/wolfssl/${{ matrix.os }}/ - key: wolfssh-common-wolfssl-${{ env.WOLFSSL_REF }}-${{ matrix.os }} + path: build-dir/ + key: wolfssh-os-check-wolfssl-${{ env.WOLFSSL_REF }}-${{ matrix.os }} fail-on-cache-miss: true - name: Checkout, build, and test wolfssh @@ -77,5 +71,5 @@ jobs: with: repository: wolfssl/wolfssh path: wolfssh - configure: ${{ matrix.config }} LDFLAGS="-L${{ github.workspace }}/opt/wolfssl/${{ matrix.os }}/lib" CPPFLAGS="-I${{ github.workspace }}/opt/wolfssl/${{ matrix.os }}/include" + configure: ${{ matrix.config }} LDFLAGS="-L${{ github.workspace }}/build-dir/lib" CPPFLAGS="-I${{ github.workspace }}/build-dir/include" check: true