From 2185d01534a392c2860daa3396a8f95e2b4014c9 Mon Sep 17 00:00:00 2001 From: uy/sun Date: Tue, 17 Jun 2025 15:34:32 +0800 Subject: [PATCH] =?UTF-8?q?:construction=5Fworker:=20=E9=80=82=E9=85=8D=20?= =?UTF-8?q?NoneFlow=204.4.0=20(#3539)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/noneflow.yml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/noneflow.yml b/.github/workflows/noneflow.yml index c34232a3..4bb10deb 100644 --- a/.github/workflows/noneflow.yml +++ b/.github/workflows/noneflow.yml @@ -3,16 +3,16 @@ name: NoneFlow on: issues: types: [opened, reopened, edited] - pull_request_target: - types: [closed] issue_comment: types: [created] + pull_request_target: + types: [closed] pull_request_review: types: [submitted] concurrency: - group: ${{ github.workflow }}-${{ github.event.issue.number || github.run_id }} - cancel-in-progress: false + group: ${{ github.workflow }}-${{ github.event.issue.number && format('publish/issue{0}', github.event.issue.number) || github.head_ref || github.run_id }} + cancel-in-progress: ${{ startsWith(github.head_ref, 'publish/issue')}} jobs: noneflow: @@ -58,8 +58,16 @@ jobs: "plugin_path": "assets/plugins.json5", "bot_path": "assets/bots.json5", "adapter_path": "assets/adapters.json5", - "registry_repository": "nonebot/registry" + "registry_repository": "nonebot/registry", + "artifact_path": "artifact" } env: APP_ID: ${{ secrets.APP_ID }} PRIVATE_KEY: ${{ secrets.APP_KEY }} + + - name: Upload Artifact + uses: actions/upload-artifact@v4 + with: + name: noneflow + path: artifact/* + if-no-files-found: ignore