diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..004eb95 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,7 @@ +on: + push: +jobs: + another-job: + runs-on: ubuntu-latest + steps: + - uses: yanhao98/composite-actions@main \ No newline at end of file diff --git a/.github/workflows/preview-publish.yml b/.github/workflows/preview-publish.yml deleted file mode 100644 index 2e4babc..0000000 --- a/.github/workflows/preview-publish.yml +++ /dev/null @@ -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!" \ No newline at end of file