Skip to content

Commit

Permalink
only artifact if not cached
Browse files Browse the repository at this point in the history
  • Loading branch information
dguittet committed May 22, 2024
1 parent 722d5a4 commit 26c679d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: jwlawson/actions-setup-cmake@v2
with:
cmake-version: '3.24.x'

- name: Test cmake version
run: cmake --version

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 26c679d

Please sign in to comment.