Compare commits

...

5 Commits

Author SHA1 Message Date
645ab54feb rename 2019-10-02 16:17:18 +02:00
557c7af1de rename to install-nix-action 2019-10-02 16:06:28 +02:00
82911d15ab Merge pull request #3 from cachix/fix-segfault
fixes #1
2019-10-02 15:45:50 +02:00
ff1a6b6f95 Merge pull request #2 from roberth/update-readme
Update README.md, add lib/README.md
2019-10-02 15:42:20 +02:00
fc1e077596 Update README.md, add lib/README.md 2019-10-02 15:36:51 +02:00
5 changed files with 19 additions and 13 deletions

View File

@ -1,4 +1,4 @@
name: "nix-action test"
name: "install-nix-action test"
on:
pull_request:
push:

View File

@ -1,8 +1,8 @@
# nix-action
# install-nix-action
![github actions badge](https://github.com/cachix/nix-action/workflows/nix-action%20test/badge.svg)
![github actions badge](https://github.com/cachix/install-nix-action/workflows/install-nix-action%20test/badge.svg)
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
@ -18,18 +18,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: cachix/nix-action@v1
- uses: cachix/install-nix-action@v1
- run: nix-build
```
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
Install the dependencies
Install the dependencies
```bash
$ yarn install
```
@ -39,7 +40,7 @@ Build the typescript
$ yarn build
```
Run the tests :heavy_check_mark:
Run the tests :heavy_check_mark:
```bash
$ yarn test
```

View File

@ -1,5 +1,5 @@
name: 'Nix'
description: 'Install Nix'
name: 'Install Nix'
description: 'Installs Nix on GitHub Actions for the supported platforms: Linux and macOS.'
author: 'Domen Kožar'
branding:
color: 'blue'

5
lib/README.md Normal file
View File

@ -0,0 +1,5 @@
# Generated Code
The files in this directory are generated.
See [src](../src)

View File

@ -1,8 +1,8 @@
{
"name": "nix-action",
"name": "install-nix-action",
"version": "1.0.0",
"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",
"scripts": {
"build": "tsc",
@ -10,7 +10,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/cachix/nix-action.git"
"url": "git+https://github.com/cachix/install-nix-action.git"
},
"keywords": [
"actions",