Skip to content

Merge pull request #153 from ju-sh/patch-2 #44

Merge pull request #153 from ju-sh/patch-2

Merge pull request #153 from ju-sh/patch-2 #44

Workflow file for this run

name: 'build'
on:
pull_request:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 'Checkout codebase'
if: github.event_name == 'push'
uses: actions/[email protected]
with:
fetch-depth: 0
- name: 'Checkout codebase'
if: github.event_name == 'pull_request'
uses: actions/[email protected]
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- uses: cachix/install-nix-action@v14
- run: NIXPKGS_ALLOW_UNFREE=1 nix --experimental-features 'nix-command flakes' build -L --impure
- name: 'Copy book'
run: cp result/share/book.pdf .
- name: 'Upload artifact to GitHub'
uses: actions/[email protected]
with:
name: book.pdf
path: book.pdf