Cache nix
Some checks failed
/ Test on 29.1 (push) Waiting to run
/ Test on snapshot (push) Waiting to run
/ Test on 28.2 (push) Has been cancelled

This commit is contained in:
Maciej 2024-08-15 20:26:07 +03:00
parent d9347fcc22
commit 6db71f77c3
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
2 changed files with 18 additions and 2 deletions

View file

@ -7,7 +7,21 @@ inputs:
runs:
using: 'composite'
steps:
- name: Restore cached version
id: cache-restore
uses: https://code.forgejo.org/actions/cache/restore@v4
with:
path: |
/nix/store
key: ${{ inputs.version }}-${{ hashFiles('flake.lock') }}
- run: ${{ github.action_path }}/install.sh
shell: bash
env:
INPUT_VERSION: ${{ inputs.version }}
- name: Cache version
id: cache-put
uses: https://code.forgejo.org/actions/cache/save@v4
with:
path: |
/nix/store
key: ${{ inputs.version }}-${{ hashFiles('flake.lock') }}