Compare commits
4 Commits
v11
...
macos-11.0
Author | SHA1 | Date | |
---|---|---|---|
e583e9458b | |||
aee3ec7ef5 | |||
ba5c343622 | |||
8389c1826a |
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -2,12 +2,14 @@ name: "install-nix-action test"
|
|||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
push:
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
simple-build:
|
simple-build:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, macos-latest]
|
os: [ubuntu-latest, macos-11.0]
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -43,7 +43,7 @@ with developers.
|
|||||||
|
|
||||||
## Usage with Flakes
|
## Usage with Flakes
|
||||||
|
|
||||||
```
|
```yaml
|
||||||
name: "Test"
|
name: "Test"
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
@ -66,7 +66,7 @@ jobs:
|
|||||||
|
|
||||||
## Inputs (specify using `with:`)
|
## Inputs (specify using `with:`)
|
||||||
|
|
||||||
- `install_url`: specify URL to install Nix from (useful for testing non-stable releases)
|
- `install_url`: specify URL to install Nix from (useful for testing non-stable releases or pinning Nix for example https://releases.nixos.org/nix/nix-2.3.7/install)
|
||||||
|
|
||||||
- `nix_path`: set `NIX_PATH` environment variable, for example `nixpkgs=channel:nixos-unstable`
|
- `nix_path`: set `NIX_PATH` environment variable, for example `nixpkgs=channel:nixos-unstable`
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user