fix capi #287
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Build legacy Nix package on Ubuntu" | |
on: | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache nix store | |
id: cache-nix | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.nix-portable/store | |
~/bin/nix-portable | |
key: nix-${{ hashFiles('shell.nix') }}-${{ hashFiles('nix/**') }}-v010 | |
- name: Install nix-portable | |
if: steps.cache-nix.outputs.cache-hit != 'true' | |
run: | | |
mkdir ~/bin | |
wget -qO ~/bin/nix-portable https://github.com/DavHau/nix-portable/releases/download/v010/nix-portable | |
chmod +x ~/bin/nix-portable | |
- run: ~/bin/nix-portable nix-build . -A defaultPackage.x86_64-linux |