Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graham/fh 433 magic nix cache should disable GitHub actions cache when flakehub cache is enabled #110

Conversation

grahamc
Copy link
Member

@grahamc grahamc commented Nov 6, 2024

Generally, the Github Actions cache is a less good experience than FlakeHub Cache. Using FHC + GHA makes for a less stellar experience. This PR makes it by default use only FHC if FHC is available, but allows a user to explicitly turn-on GHA in addition.

@grahamc grahamc merged commit 448d84e into main Nov 6, 2024
14 checks passed
@grahamc grahamc deleted the graham/fh-433-magic-nix-cache-should-disable-github-actions-cache-if branch November 6, 2024 17:05
@@ -72,7 +72,7 @@ jobs:
uses: DeterminateSystems/nix-installer-action@main

- name: Test magic-nix-cache-action@main on ${{ matrix.systems.runner }}
uses: DeterminateSystems/magic-nix-cache-action@main
uses: DeterminateSystems/magic-nix-cache-action@graham/fh-433-magic-nix-cache-should-disable-github-actions-cache-if
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure we want to have this branch be used in production...? If it gets deleted, runs will start failing.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EXTREME DERP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants