Update .gitea/workflows/ci-demo.yaml
Some checks failed
Gitea Actions CI Demo / Explore-Gitea-Actions (push) Failing after 2m31s

add gitea runner cache step
This commit is contained in:
lab
2025-10-04 23:40:14 +08:00
parent 5a354c5da0
commit 558b4b77c3

View File

@@ -22,7 +22,14 @@ jobs:
- name: List files in the repository
run: |
ls ${{ gitea.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."
- uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Set up Docker Buildx
uses: https://github.com/docker/setup-buildx-action@v3
- name: Login to Docker Hub