From 8237606f87186d9577ff864148b9e54640610030 Mon Sep 17 00:00:00 2001 From: penguin Date: Fri, 12 Dec 2025 19:26:26 -0600 Subject: [PATCH] FIXME: add a cache job --- .gitea/workflows/gentoo-utils.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.gitea/workflows/gentoo-utils.yml b/.gitea/workflows/gentoo-utils.yml index 7eb53f9..92ad8a4 100644 --- a/.gitea/workflows/gentoo-utils.yml +++ b/.gitea/workflows/gentoo-utils.yml @@ -3,6 +3,21 @@ name: Gentoo Utils on: [push] jobs: + cache: + runs-on: ubuntu-latest + continue-on-error: true + steps: + - name: Restore git cache + uses: actions/cache@v4 + with: + path: .git + key: gitea-repo-${{ gitea.repository }}-${{ gitea.ref }} + + - name: Checkout repo + uses: actions/checkout@v5 + with: + fetch-depth: 0 + build-oci-image: runs-on: ubuntu-latest continue-on-error: true