From 26c679d6a97a86c6a1dea1f267e3873bdcc2146f Mon Sep 17 00:00:00 2001 From: Darice Date: Wed, 22 May 2024 14:20:19 -0600 Subject: [PATCH] only artifact if not cached --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 40540e4..7976585 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: uses: jwlawson/actions-setup-cmake@v2 with: cmake-version: '3.24.x' - + - name: Test cmake version run: cmake --version @@ -75,6 +75,7 @@ jobs: cmake --build build_linux -- -j4 - name: Save static lib & lksandbox + if: steps.cachedwx.outputs.cache-hit != 'true' uses: actions/upload-artifact@v4 with: name: LK-linux @@ -145,6 +146,7 @@ jobs: MSBuild.exe .\lk.sln /t:Build /p:Configuration=Release - name: Save static lib & lksandbox + if: steps.cachedwx.outputs.cache-hit != 'true' uses: actions/upload-artifact@v4 with: name: LK-windows @@ -205,6 +207,7 @@ jobs: cmake --build build -- -j3 - name: Save static lib & lksandbox + if: steps.cachedwx.outputs.cache-hit != 'true' uses: actions/upload-artifact@v4 with: name: LK-${{ matrix.os }}