👷 适配 NoneFlow 4.4.0 (#3539)

This commit is contained in:
uy/sun 2025-06-17 15:34:32 +08:00 committed by GitHub
parent 4c01b033c9
commit 2185d01534
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,16 +3,16 @@ name: NoneFlow
on: on:
issues: issues:
types: [opened, reopened, edited] types: [opened, reopened, edited]
pull_request_target:
types: [closed]
issue_comment: issue_comment:
types: [created] types: [created]
pull_request_target:
types: [closed]
pull_request_review: pull_request_review:
types: [submitted] types: [submitted]
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.event.issue.number || github.run_id }} group: ${{ github.workflow }}-${{ github.event.issue.number && format('publish/issue{0}', github.event.issue.number) || github.head_ref || github.run_id }}
cancel-in-progress: false cancel-in-progress: ${{ startsWith(github.head_ref, 'publish/issue')}}
jobs: jobs:
noneflow: noneflow:
@ -58,8 +58,16 @@ jobs:
"plugin_path": "assets/plugins.json5", "plugin_path": "assets/plugins.json5",
"bot_path": "assets/bots.json5", "bot_path": "assets/bots.json5",
"adapter_path": "assets/adapters.json5", "adapter_path": "assets/adapters.json5",
"registry_repository": "nonebot/registry" "registry_repository": "nonebot/registry",
"artifact_path": "artifact"
} }
env: env:
APP_ID: ${{ secrets.APP_ID }} APP_ID: ${{ secrets.APP_ID }}
PRIVATE_KEY: ${{ secrets.APP_KEY }} PRIVATE_KEY: ${{ secrets.APP_KEY }}
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: noneflow
path: artifact/*
if-no-files-found: ignore