Skip to content

Commit

Permalink
Merge pull request #36 from DeterminateSystems/grahamc-patch-1
Browse files Browse the repository at this point in the history
Stop setting the default source branch to 'main'
  • Loading branch information
grahamc authored Mar 6, 2024
2 parents 742d870 + 79f590d commit 54acdd1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ inputs:
source-branch:
description: The branch of `magic-nix-cache` to use. Conflicts with all other `source-*` options.
required: false
default: main
source-pr:
description: The PR of `magic-nix-cache` to use. Conflicts with all other `source-*` options.
required: false
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function getCacherUrl() : string {
return `${urlPrefix}/rev/${core.getInput('source-revision')}/${binarySuffix}`;
}

return `${urlPrefix}/latest/${binarySuffix}`;
return `${urlPrefix}/stable/${binarySuffix}`;
}

async function fetchAutoCacher(destination: string) {
Expand Down

0 comments on commit 54acdd1

Please sign in to comment.