将 CI 与 Deploy 对可复用 prepare workflow 的引用统一从 1.1 升级到 1.2,确保两条流水线使用同一版模板能力。 Made-with: Cursor
This commit is contained in:
@@ -7,7 +7,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci:
|
ci:
|
||||||
uses: platform/workflow/.gitea/workflows/reusable-prepare-workspace.yml@1.1
|
uses: platform/workflow/.gitea/workflows/reusable-prepare-workspace.yml@1.2
|
||||||
with:
|
with:
|
||||||
repo_url: "${{ github.server_url }}/${{ github.repository }}.git"
|
repo_url: "${{ github.server_url }}/${{ github.repository }}.git"
|
||||||
git_sha: "${{ github.sha }}"
|
git_sha: "${{ github.sha }}"
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
if: ${{ github.event_name == 'workflow_dispatch' || startsWith(github.ref, 'refs/tags/v') }}
|
if: ${{ github.event_name == 'workflow_dispatch' || startsWith(github.ref, 'refs/tags/v') }}
|
||||||
uses: platform/workflow/.gitea/workflows/reusable-prepare-workspace.yml@1.1
|
uses: platform/workflow/.gitea/workflows/reusable-prepare-workspace.yml@1.2
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
with:
|
with:
|
||||||
repo_url: "${{ github.server_url }}/${{ github.repository }}.git"
|
repo_url: "${{ github.server_url }}/${{ github.repository }}.git"
|
||||||
|
|||||||
Reference in New Issue
Block a user