Compare commits
5 Commits
fix-segfau
...
v1
Author | SHA1 | Date | |
---|---|---|---|
645ab54feb | |||
557c7af1de | |||
82911d15ab | |||
ff1a6b6f95 | |||
fc1e077596 |
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: "nix-action test"
|
name: "install-nix-action test"
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
push:
|
push:
|
||||||
|
15
README.md
15
README.md
@ -1,8 +1,8 @@
|
|||||||
# nix-action
|
# install-nix-action
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Installs [Nix](https://nixos.org/nix/) in platform agnostic way (supports: Linux/macOS).
|
Installs [Nix](https://nixos.org/nix/) on GitHub Actions for the supported platforms: Linux and macOS.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
@ -18,18 +18,19 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- uses: cachix/nix-action@v1
|
- uses: cachix/install-nix-action@v1
|
||||||
- run: nix-build
|
- run: nix-build
|
||||||
```
|
```
|
||||||
|
|
||||||
See also [cachix-action](https://github.com/cachix/cachix-action) for
|
See also [cachix-action](https://github.com/cachix/cachix-action) for
|
||||||
simple binary cache setup.
|
simple binary cache setup to speed up your builds and share binaries
|
||||||
|
with developers.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Hacking
|
## Hacking
|
||||||
|
|
||||||
Install the dependencies
|
Install the dependencies
|
||||||
```bash
|
```bash
|
||||||
$ yarn install
|
$ yarn install
|
||||||
```
|
```
|
||||||
@ -39,7 +40,7 @@ Build the typescript
|
|||||||
$ yarn build
|
$ yarn build
|
||||||
```
|
```
|
||||||
|
|
||||||
Run the tests :heavy_check_mark:
|
Run the tests :heavy_check_mark:
|
||||||
```bash
|
```bash
|
||||||
$ yarn test
|
$ yarn test
|
||||||
```
|
```
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
name: 'Nix'
|
name: 'Install Nix'
|
||||||
description: 'Install Nix'
|
description: 'Installs Nix on GitHub Actions for the supported platforms: Linux and macOS.'
|
||||||
author: 'Domen Kožar'
|
author: 'Domen Kožar'
|
||||||
branding:
|
branding:
|
||||||
color: 'blue'
|
color: 'blue'
|
||||||
|
5
lib/README.md
Normal file
5
lib/README.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
|
||||||
|
# Generated Code
|
||||||
|
|
||||||
|
The files in this directory are generated.
|
||||||
|
See [src](../src)
|
@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"name": "nix-action",
|
"name": "install-nix-action",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "nix-build with the help of caching to Cachix",
|
"description": "Installs Nix on GitHub Actions for the supported platforms: Linux and macOS.",
|
||||||
"main": "lib/main.js",
|
"main": "lib/main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
@ -10,7 +10,7 @@
|
|||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/cachix/nix-action.git"
|
"url": "git+https://github.com/cachix/install-nix-action.git"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"actions",
|
"actions",
|
||||||
|
Reference in New Issue
Block a user