trying to cache git folder
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 8s

This commit is contained in:
2026-01-19 20:47:06 +00:00
parent 0c6ddd4904
commit f62e6ca651
+8
View File
@@ -18,6 +18,11 @@ 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 }}
- name: Check Docker Version
run: whereis docker
@@ -100,3 +105,6 @@ jobs:
--user ${{ secrets.USERNAME_GITEA }}:${{ secrets.PASSWORD_GITEA }} \
https://gitea.tryton.geeraert.eu/api/v1/repos/pi-ux-ce/${{ github.event.repository.name }}/actions/variables/VERSION \
-d "{\"Value\":\"$next_version\"}"
- name: backup git for future use
run: cp -r ${{ gitea.workspace }} /opt/hostedtoolcache/${{ github.event.repository.name }}/