feat: add caching for Gitea Actions to improve build performance
Some checks failed
Build and Push Docker Image / build (push) Has been cancelled

This commit is contained in:
Felix Schlusche
2025-10-24 15:57:55 +02:00
parent d994d53356
commit c9ff811a2a

View File

@@ -19,6 +19,16 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Cache Gitea Actions
uses: actions/cache@v3
with:
# The path to the directory that should be cached
path: /root/.cache/act
# A key to identify the cache
key: ${{ runner.os }}-gitea-actions-${{ hashFiles(''.workflow) }}
# A fallback key to use if the primary key doesn't match
restore-keys: |
${{ runner.os }}-gitea-actions-
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4