No description
Find a file
2026-09-12 00:14:45 +02:00
action.yml Add action and document it in the README. 2026-09-12 00:14:45 +02:00
LICENSE Initial commit 2026-09-10 17:27:42 +02:00
README.md Add action and document it in the README. 2026-09-12 00:14:45 +02:00

setup-attic-cache v1

This action installs the attic client using nix profiles and configures your specified cache to be used by nix commands.

Requirements

Nix needs to be installed in the environment. For this you can use the install-lix action.

- uses: https://git.gradient.moe/actions/install-lix@v1

Usage

- uses: https://git.lorea.dev/actions/setup-attic-cache@v1
  with:
    # The api endpoint url of your attic cache. For example 'https://cache.lorea.dev'.
    # Defaults to ${{ vars.ATTIC_URL }}
    attic-url: ''

    # The name of the specific cache to use. For example 'myriorama'.
    # Defaults to ${{ vars.ATTIC_CACHE }}
    attic-cache: ''

    # Required
    # The authentication token for the cache. Needs push / pull access for the other Attic actions to work. For example 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3ODk...'. Use of repository secrets recommended. For Example ${{ secrets.ATTIC_TOKEN }}
    attic-token: ''