Skip to content

Allow to configure paths to skip when uploading #176

@istudyatuni

Description

@istudyatuni

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")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions