From 8a1fef4087b44eef8116e07a2218930d55fde67a Mon Sep 17 00:00:00 2001 From: lobo Date: Sat, 12 Apr 2025 23:03:21 +0000 Subject: [PATCH] Update .gitea/workflows/hello_world.yaml --- .gitea/workflows/hello_world.yaml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/hello_world.yaml b/.gitea/workflows/hello_world.yaml index 28885bf..cf69907 100644 --- a/.gitea/workflows/hello_world.yaml +++ b/.gitea/workflows/hello_world.yaml @@ -19,10 +19,21 @@ jobs: - name: Show environment run: env - run: true - - name: Setup zig - uses: https://github.com/mlugg/setup-zig@v1.2.1 + - uses: actions/cache@v4 + id: cache with: - version: 0.14.0 + path: cached + key: ${{ runner.os }}-cached + - name: Create cached file + if: steps.cache.outputs.cache-hit != 'true' + run: echo foo > cached + - name: Is cached + if: steps.cache.outputs.cache-hit == 'true' + run: cat cached + # - name: Setup zig + # uses: https://github.com/mlugg/setup-zig@v1.2.1 + # with: + # version: 0.14.0 # - name: Sign # id: sign # uses: https://git.lerch.org/lobo/action-hsm-sign@v1