mirror of
https://github.com/cachix/install-nix-action.git
synced 2024-11-23 17:10:53 +00:00
refactor: Format files using Prettier
Actual command: `nix-shell --packages nodePackages.prettier --pure --run 'prettier --write .'`.
This commit is contained in:
parent
ba01fffc51
commit
3d81dbf023
4 changed files with 95 additions and 97 deletions
5
.github/dependabot.yml
vendored
5
.github/dependabot.yml
vendored
|
@ -1,11 +1,10 @@
|
||||||
version: 2
|
version: 2
|
||||||
updates:
|
updates:
|
||||||
|
- package-ecosystem: github-actions
|
||||||
- package-ecosystem: github-actions
|
|
||||||
directory: "/"
|
directory: "/"
|
||||||
schedule:
|
schedule:
|
||||||
interval: daily
|
interval: daily
|
||||||
time: '00:00'
|
time: "00:00"
|
||||||
timezone: UTC
|
timezone: UTC
|
||||||
open-pull-requests-limit: 10
|
open-pull-requests-limit: 10
|
||||||
commit-message:
|
commit-message:
|
||||||
|
|
|
@ -75,7 +75,6 @@ To install Nix from any commit, go to [the corresponding installer_test action](
|
||||||
|
|
||||||
- `enable_kvm`: whether to enable KVM for hardware-accelerated virtualization on Linux. Enabled by default if available.
|
- `enable_kvm`: whether to enable KVM for hardware-accelerated virtualization on Linux. Enabled by default if available.
|
||||||
|
|
||||||
|
|
||||||
## Differences from the default Nix installer
|
## Differences from the default Nix installer
|
||||||
|
|
||||||
Some settings have been optimised for use in CI environments:
|
Some settings have been optimised for use in CI environments:
|
||||||
|
|
26
action.yml
26
action.yml
|
@ -1,28 +1,28 @@
|
||||||
name: 'Install Nix'
|
name: "Install Nix"
|
||||||
description: 'Installs Nix on GitHub Actions for the supported platforms: Linux and macOS.'
|
description: "Installs Nix on GitHub Actions for the supported platforms: Linux and macOS."
|
||||||
author: 'Domen Kožar'
|
author: "Domen Kožar"
|
||||||
inputs:
|
inputs:
|
||||||
extra_nix_config:
|
extra_nix_config:
|
||||||
description: 'Gets appended to `/etc/nix/nix.conf` if passed.'
|
description: "Gets appended to `/etc/nix/nix.conf` if passed."
|
||||||
github_access_token:
|
github_access_token:
|
||||||
description: 'Configure nix to pull from github using the given github token.'
|
description: "Configure nix to pull from github using the given github token."
|
||||||
install_url:
|
install_url:
|
||||||
description: 'Installation URL that will contain a script to install Nix.'
|
description: "Installation URL that will contain a script to install Nix."
|
||||||
install_options:
|
install_options:
|
||||||
description: 'Additional installer flags passed to the installer script.'
|
description: "Additional installer flags passed to the installer script."
|
||||||
nix_path:
|
nix_path:
|
||||||
description: 'Set NIX_PATH environment variable.'
|
description: "Set NIX_PATH environment variable."
|
||||||
enable_kvm:
|
enable_kvm:
|
||||||
description: 'Enable KVM for hardware-accelerated virtualization on Linux, if available.'
|
description: "Enable KVM for hardware-accelerated virtualization on Linux, if available."
|
||||||
required: false
|
required: false
|
||||||
default: true
|
default: true
|
||||||
branding:
|
branding:
|
||||||
color: 'blue'
|
color: "blue"
|
||||||
icon: 'sun'
|
icon: "sun"
|
||||||
runs:
|
runs:
|
||||||
using: 'composite'
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
- run : ${GITHUB_ACTION_PATH}/install-nix.sh
|
- run: ${GITHUB_ACTION_PATH}/install-nix.sh
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
INPUT_EXTRA_NIX_CONFIG: ${{ inputs.extra_nix_config }}
|
INPUT_EXTRA_NIX_CONFIG: ${{ inputs.extra_nix_config }}
|
||||||
|
|
Loading…
Reference in a new issue