fix: clear /workspace before clone to avoid 'already exists' error
Some checks failed
CI — Test & Build / Test & Build (push) Failing after 10s
Some checks failed
CI — Test & Build / Test & Build (push) Failing after 10s
This commit is contained in:
@@ -20,9 +20,9 @@ jobs:
|
||||
- name: Checkout
|
||||
run: |
|
||||
git config --global http.sslVerify false
|
||||
rm -rf /workspace
|
||||
git clone ${{ gitea.server_url }}/${{ gitea.repository }}.git /workspace
|
||||
cd /workspace
|
||||
git checkout ${{ gitea.sha }}
|
||||
cd /workspace && git checkout ${{ gitea.sha }}
|
||||
working-directory: /
|
||||
|
||||
- name: Install dependencies
|
||||
|
||||
Reference in New Issue
Block a user