From 6d3dceb2d3a9c8687dc145cf114a7988b93e70c2 Mon Sep 17 00:00:00 2001 From: kira1928 Date: Mon, 27 Oct 2025 00:06:02 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0CI=E5=B7=A5=E4=BD=9C?= =?UTF-8?q?=E6=B5=81=E4=BB=A5=E6=94=AF=E6=8C=81=E5=BC=BA=E5=88=B6=E9=87=8D?= =?UTF-8?q?=E6=96=B0=E6=9E=84=E5=BB=BA=E7=BC=93=E5=AD=98=E7=9A=84=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4cb2a1c..437f229 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -38,25 +38,25 @@ jobs: run: echo "Web build cache hit; skipping setup, caching and build steps." - uses: actions/setup-node@v4 - if: ${{ steps.cache_web_build.outputs.cache-hit != 'true' }} + if: ${{ steps.cache_web_build.outputs.cache-hit != 'true' && github.event.inputs.is_force != 'true' }} with: node-version-file: '.node-version' cache: yarn cache-dependency-path: 'src/webapp/yarn.lock' - uses: actions/setup-go@v5 - if: ${{ steps.cache_web_build.outputs.cache-hit != 'true' }} + if: ${{ steps.cache_web_build.outputs.cache-hit != 'true' && github.event.inputs.is_force != 'true' }} with: go-version: '1.24' cache: true cache-dependency-path: '**/go.sum' - name: Build Web Page - if: ${{ steps.cache_web_build.outputs.cache-hit != 'true' }} + if: ${{ steps.cache_web_build.outputs.cache-hit != 'true' || github.event.inputs.is_force == 'true' }} run: make build-web - name: Save built web to cache (src/webapp/build) - if: ${{ steps.cache_web_build.outputs.cache-hit != 'true' }} + if: ${{ steps.cache_web_build.outputs.cache-hit != 'true' && github.event.inputs.is_force != 'true' }} uses: actions/cache/save@v4 with: path: |