Skip to content

Gravwell v5.6.2

Gravwell v5.6.2 #8

Workflow file for this run

name: Upload PDF to Release
on:
release:
types:
- published
jobs:
training-pdf-builder:
runs-on: ubuntu-latest
name: Build the training PDF and upload to Release
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Setup Nix
uses: cachix/install-nix-action@v25
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Build PDF
run: |
nix-build
- name: Update PDF name
run: |
cp result/master.pdf gravwell_training_${{ github.ref_name }}.pdf
- name: Publish
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release upload ${{ github.ref_name }} gravwell_training_${{ github.ref_name }}.pdf --clobber