mirror of
https://github.com/yanhao98/composite-actions.git
synced 2025-07-13 23:00:48 +08:00
新增 CI 工作流文件并删除 preview-publish 工作流
All checks were successful
/ another-job (push) Successful in 13s
All checks were successful
/ another-job (push) Successful in 13s
This commit is contained in:
7
.github/workflows/ci.yml
vendored
Normal file
7
.github/workflows/ci.yml
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
on:
|
||||
push:
|
||||
jobs:
|
||||
another-job:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: yanhao98/composite-actions@main
|
22
.github/workflows/preview-publish.yml
vendored
22
.github/workflows/preview-publish.yml
vendored
@ -1,22 +0,0 @@
|
||||
# 文件名建议统一为 preview-publish
|
||||
# 应用 preview.yml 的 demo
|
||||
|
||||
name: PREVIEW_PUBLISH
|
||||
|
||||
on:
|
||||
push:
|
||||
workflow_run:
|
||||
workflows: ["MAIN_PULL_REQUEST"]
|
||||
types:
|
||||
- completed
|
||||
|
||||
jobs:
|
||||
call-preview:
|
||||
uses: https://github.com/Tencent/tdesign/.github/workflows/preview.yml@main
|
||||
secrets:
|
||||
TDESIGN_SURGE_TOKEN: ${{ secrets.TDESIGN_SURGE_TOKEN }}
|
||||
another-job:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Another job
|
||||
run: echo "This is another job!"
|
Reference in New Issue
Block a user