I want to configure "magic"
For example, to ignore final build artifact, which won't be needed anymore. Something like this:
jobs:
build:
runs-on: ubuntu-22.04
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
with:
skip_upload: |
some_path
another_path
- run: nix build
some_path is a part of full /nix/store/[hash]-some_path-... path, e.g. it will be matched like nix_path.file_name().unwrap().contains("some_path")
I want to configure "magic"
For example, to ignore final build artifact, which won't be needed anymore. Something like this:
some_pathis a part of full/nix/store/[hash]-some_path-...path, e.g. it will be matched likenix_path.file_name().unwrap().contains("some_path")