only if present
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4m12s

This commit is contained in:
2026-01-19 20:53:13 +00:00
parent 9cb1418b0d
commit 0f58c2dcae
+1 -1
View File
@@ -19,7 +19,7 @@ jobs:
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- name: restore git folder if exist
run: cp -r /opt/hostedtoolcache/${{ github.event.repository.name }}/ ${{ gitea.workspace }} 2>/dev/null
run: if [ -d "/opt/hostedtoolcache/${{ github.event.repository.name }}/" ]; then cp -r /opt/hostedtoolcache/${{ github.event.repository.name }}/ ${{ gitea.workspace }}; fi
- name: Check Docker Version
run: whereis docker