mirror of
https://github.com/Winds-Studio/Leaf.git
synced 2025-12-19 15:09:25 +00:00
[ci skip] Revert "Fetch all commits to fix download api"
This reverts commit d46c4bca93.
This commit is contained in:
2
.github/workflows/build-1215.yml
vendored
2
.github/workflows/build-1215.yml
vendored
@@ -134,7 +134,7 @@ jobs:
|
|||||||
BRANCH="${{ github.ref_name }}"
|
BRANCH="${{ github.ref_name }}"
|
||||||
REPO_DIR="/root/Leaf-${BRANCH//\//-}" # Replace slashes with dashes to avoid directory issues
|
REPO_DIR="/root/Leaf-${BRANCH//\//-}" # Replace slashes with dashes to avoid directory issues
|
||||||
|
|
||||||
[ -d "$REPO_DIR/.git" ] && cd "$REPO_DIR" && git fetch origin && git checkout "$BRANCH" && git reset --hard "origin/$BRANCH" || git clone --branch "$BRANCH" https://github.com/Winds-Studio/Leaf "$REPO_DIR"
|
[ -d "$REPO_DIR/.git" ] && cd "$REPO_DIR" && git fetch origin && git checkout "$BRANCH" && git reset --hard "origin/$BRANCH" || git clone --branch "$BRANCH" --depth 1 https://github.com/Winds-Studio/Leaf "$REPO_DIR"
|
||||||
|
|
||||||
# Proceed to insert the build into the API
|
# Proceed to insert the build into the API
|
||||||
cd ~/api/cli
|
cd ~/api/cli
|
||||||
|
|||||||
Reference in New Issue
Block a user