mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 18:20:39 +08:00
chore: use mirror clone in ci.yml for PRs
This commit is contained in:
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@@ -27,8 +27,9 @@ jobs:
|
||||
git init
|
||||
cp $GITHUB_WORKSPACE/temp/.git/config ./.git
|
||||
rm -rf $GITHUB_WORKSPACE/temp
|
||||
git config remote.origin.fetch '+refs/*:refs/*'
|
||||
git fetch --filter=tree:0
|
||||
git checkout ${{ github.ref_name }}
|
||||
git checkout ${{ github.ref }}
|
||||
|
||||
- id: set_tag
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user