Skip to content

Commit

Permalink
derp
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamc committed Nov 6, 2024
1 parent 596b296 commit 22b7f94
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cache-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ if [ "$EXPECT_GITHUB_CACHE" == "true" ]; then
if [[ -z $found ]]; then
echo "GitHub Actions Cache push did not happen." >&2

if !is_gh_throttled; then
if ! is_gh_throttled; then
exit 1
fi
fi
Expand All @@ -73,7 +73,7 @@ if [ "$EXPECT_FLAKEHUB" == "true" ]; then
nix path-info --store "${flakehub_binary_cache}" "${outpath}"
fi

if [ "$EXPECT_GITHUB_CACHE" == "true" ] && !is_gh_throttled; then
if [ "$EXPECT_GITHUB_CACHE" == "true" ] && ! is_gh_throttled; then
# Check the GitHub binary cache to see if the path is really there.
nix path-info --store "${gha_binary_cache}" "${outpath}"
fi
Expand All @@ -96,11 +96,11 @@ if [ "$EXPECT_FLAKEHUB" == "true" ]; then
nix path-info --store "${flakehub_binary_cache}" "${outpath}"
fi

if [ "$EXPECT_GITHUB_CACHE" == "true" ] && !is_gh_throttled; then
if [ "$EXPECT_GITHUB_CACHE" == "true" ] && ! is_gh_throttled; then
# Check the FlakeHub binary cache to see if the path is really there.
nix path-info --store "${gha_binary_cache}" "${outpath}"
fi

if ([ "$EXPECT_GITHUB_CACHE" == "true" ] && !is_gh_throttled) || [ "$EXPECT_FLAKEHUB" == "true" ]; then
if ([ "$EXPECT_GITHUB_CACHE" == "true" ] && ! is_gh_throttled) || [ "$EXPECT_FLAKEHUB" == "true" ]; then
nix-store --realize -vvvvvvvv "$outpath"
fi

0 comments on commit 22b7f94

Please sign in to comment.