Skip to content

Commit

Permalink
Fix swapped substituters condition
Browse files Browse the repository at this point in the history
  • Loading branch information
zombiezen committed Nov 11, 2023
1 parent 38e83a8 commit 162f1a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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.

4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ const NIXCACHED_PORT = 38380;
} = await generate({
useNixcached,
substituters: useNixcached
? substituters
: [`http://localhost:${NIXCACHED_PORT}`],
? [`http://localhost:${NIXCACHED_PORT}`]
: substituters,
trustedPublicKeys: spaceSepList(getInput('trusted_public_keys')),
secretKeys: spaceSepList(getInput('secret_keys')),
awsAccessKeyId: getInput('aws_access_key_id'),
Expand Down

0 comments on commit 162f1a8

Please sign in to comment.