From 74099fc62a1083aa4c308db1d0b642bcbb79713f Mon Sep 17 00:00:00 2001 From: Dania Rifki Date: Wed, 25 Feb 2026 09:40:23 +0800 Subject: Add cache hit condition --- .github/workflows/static.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to '.github/workflows/static.yml') diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 9e5ec0e..535c7b3 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -23,12 +23,14 @@ jobs: uses: actions/checkout@v6 - name: Cache Emscripten + id: cache-emsdk uses: actions/cache@v4 with: path: ~/emsdk key: emsdk-${{ runner.os }}-latest - name: Install Emscripten + if: steps.cache-emsdk.outputs.cache-hit != 'true' run: | git clone https://github.com/emscripten-core/emsdk.git ~/emsdk ~/emsdk/emsdk install latest -- cgit v1.2.3-55-g6feb