diff --git a/.forgejo/install-emacs/action.yml b/.forgejo/install-emacs/action.yml index 6fe1a2b..7945785 100644 --- a/.forgejo/install-emacs/action.yml +++ b/.forgejo/install-emacs/action.yml @@ -10,10 +10,11 @@ runs: - name: Restore cached version id: cache-restore uses: https://code.forgejo.org/actions/cache/restore@v4 + if: inputs.version != 'snapshot' with: path: | /nix/store - key: ${{ inputs.version }}-${{ hashFiles('flake.lock') }} + key: ${{ inputs.version }}-${{ hashFiles('**/flake.lock') }} - run: ${{ github.action_path }}/install.sh shell: bash env: @@ -21,7 +22,8 @@ runs: - name: Cache version id: cache-put uses: https://code.forgejo.org/actions/cache/save@v4 + if: inputs.version != 'snapshot' with: path: | /nix/store - key: ${{ inputs.version }}-${{ hashFiles('flake.lock') }} + key: ${{ inputs.version }}-${{ hashFiles('**/flake.lock') }}