From 45be10abf1ac205389c682784605cf089c35b534 Mon Sep 17 00:00:00 2001 From: Sunny Luo Date: Mon, 28 Sep 2026 10:46:56 +0800 Subject: [PATCH] ci: bound prebuild retention and publication job duration --- .github/workflows/publish.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0feeedc..e33acd1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,6 +9,7 @@ permissions: jobs: prebuilds: + timeout-minutes: 30 strategy: fail-fast: false matrix: @@ -84,11 +85,13 @@ jobs: with: name: prebuilds-${{ matrix.os }}-${{ matrix.arch }} path: prebuilds + retention-days: 7 if-no-files-found: error publish: needs: prebuilds runs-on: ubuntu-latest + timeout-minutes: 15 steps: - uses: actions/checkout@v5 @@ -103,6 +106,7 @@ jobs: bun-version: latest - uses: actions/download-artifact@v7 with: + pattern: prebuilds-* path: prebuilds merge-multiple: true - run: bun scripts/prepublish.ts