Update .gitea/workflows/hello_world.yaml

This commit is contained in:
lobo 2025-04-12 23:04:47 +00:00
parent 28e42cb4b2
commit 0cb17697a6

View file

@ -19,15 +19,16 @@ jobs:
- name: Show environment - name: Show environment
run: env run: env
- run: true - run: true
- uses: actions/cache@v4 - name: Cache
uses: actions/cache@v4
id: cache id: cache
with: with:
path: cached path: cached
key: ${{ runner.os }}-cached key: ${{ runner.os }}-cached
- name: Create cached file - name: Create cached file
if: steps.cache.outputs.cache-hit != 'true' if: steps.cache.outputs.cache-hit != 'true'
run: echo foo > cached run: echo foo > cached
- name: Is cached - name: Is cached
if: steps.cache.outputs.cache-hit == 'true' if: steps.cache.outputs.cache-hit == 'true'
run: cat cached run: cat cached
# - name: Setup zig # - name: Setup zig