From 75afbb4f2a0f62dee2742975231f6f8c6b2bcc07 Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Thu, 26 Sep 2024 19:42:18 +0200 Subject: [PATCH] Added missing if-statement to CI workflow - without this, we're constantly purging the cache, which exceeds the rate limit afforded to us from jsdelivr --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 29a1490947..8911527d3d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1055,6 +1055,7 @@ jobs: run: npm publish --access public - name: Purge jsdelivr cache + if: env.version_changed == 'true' uses: gacts/purge-jsdelivr-cache@v1 with: url: |