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