From 93aab5864a579b3df432ade3d17b732124300ac0 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 22 Jun 2026 20:56:12 +0000 Subject: [PATCH] Optimize publish workflow caching and timeout --- .github/workflows/publish-release.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index b3e55bee..19a376c1 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -19,6 +19,12 @@ steps: - uses: actions/checkout@v4 + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: stable + cache-dependency-path: blobl-editor/wasm/go.sum + - uses: actions/setup-node@v4 with: node-version: 18 @@ -34,7 +40,17 @@ if: steps.cache-node-modules.outputs.cache-hit != 'true' run: npm ci + - name: Cache generated files + uses: actions/cache@v4 + with: + path: src/static/blobl.wasm + key: generated-${{ hashFiles('blobl-editor/wasm/go.sum') }}-${{ hashFiles('package-lock.json') }} + restore-keys: | + generated-${{ hashFiles('blobl-editor/wasm/go.sum') }}- + generated- + - run: gulp bundle + timeout-minutes: 10 - name: Create GitHub Release (prerelease aware) env: