fix(ci): remove /data/build completely before clone
Build & Release Android APK / build-apk (push) Successful in 21m20s
Build & Release Android APK / build-apk (push) Successful in 21m20s
This commit is contained in:
@@ -15,8 +15,7 @@ jobs:
|
|||||||
- name: 📥 Récupération du code
|
- name: 📥 Récupération du code
|
||||||
run: |
|
run: |
|
||||||
echo "📥 Clonage du code source dans /data/build..."
|
echo "📥 Clonage du code source dans /data/build..."
|
||||||
mkdir -p /data/build
|
rm -rf /data/build
|
||||||
rm -rf /data/build/*
|
|
||||||
git config --global --add safe.directory "*"
|
git config --global --add safe.directory "*"
|
||||||
git clone --depth 1 "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@git.kevlar.cloud/${{ github.repository }}.git" /data/build
|
git clone --depth 1 "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@git.kevlar.cloud/${{ github.repository }}.git" /data/build
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user