mirror of
https://github.com/nxtrace/NTrace-core.git
synced 2026-12-06 19:27:55 +00:00
优化了workflow文件和交叉编译脚本
This commit is contained in:
1 parent
b7756fa731
commit
4a2b143250
5 files changed
+132
-48
No files matched your search
@@ -1,13 +1,19 @@
|
||||
name: Trigger Deb Repo
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.release.id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
types: [published, prereleased]
|
||||
|
||||
jobs:
|
||||
trigger-deb-repo:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- env:
|
||||
GITHUB_TOKEN: ${{ secrets.GT_Token }} # 操作 deb 仓库的 PAT
|
||||
GITHUB_TOKEN: ${{ secrets.GT_TOKEN }} # 操作 deb 仓库的 PAT
|
||||
run: |
|
||||
curl -X POST -H "Authorization: Bearer $GITHUB_TOKEN" \
|
||||
-H "Accept: application/vnd.github+json" \
|
||||
|
||||
Reference in new issue
Block a user