Fix a typo #41
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' | |
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 |