mirror of
https://github.com/DeterminateSystems/magic-nix-cache-action.git
synced 2024-12-27 01:30:35 +01:00
add flakehub-flake-name input
This commit is contained in:
parent
a9e1cd743c
commit
22cdf3ac39
2 changed files with 5 additions and 0 deletions
|
@ -45,6 +45,10 @@ inputs:
|
||||||
flakehub-api-server:
|
flakehub-api-server:
|
||||||
description: "The FlakeHub API server."
|
description: "The FlakeHub API server."
|
||||||
default: "https://api.flakehub.com"
|
default: "https://api.flakehub.com"
|
||||||
|
flakehub-flake-name:
|
||||||
|
description: "The name of your flake on FlakeHub. Defaults to the current name of the GitHub repository it is running in."
|
||||||
|
default: ${{ github.repository }}
|
||||||
|
required: false
|
||||||
startup-notification-port:
|
startup-notification-port:
|
||||||
description: "The port magic-nix-cache uses for daemon startup notification."
|
description: "The port magic-nix-cache uses for daemon startup notification."
|
||||||
default: 41239
|
default: 41239
|
||||||
|
|
|
@ -162,6 +162,7 @@ async function setUpAutoCache() {
|
||||||
'--flakehub-cache-server', core.getInput('flakehub-cache-server'),
|
'--flakehub-cache-server', core.getInput('flakehub-cache-server'),
|
||||||
'--flakehub-api-server', core.getInput('flakehub-api-server'),
|
'--flakehub-api-server', core.getInput('flakehub-api-server'),
|
||||||
'--flakehub-api-server-netrc', netrc,
|
'--flakehub-api-server-netrc', netrc,
|
||||||
|
'--flakehub-flake-name', core.getInput('flakehub-flake-name'),
|
||||||
] : []).concat(
|
] : []).concat(
|
||||||
core.getInput('use-gha-cache') === 'true' ? [
|
core.getInput('use-gha-cache') === 'true' ? [
|
||||||
'--use-gha-cache'
|
'--use-gha-cache'
|
||||||
|
|
Loading…
Reference in a new issue