Nareshkumar Rao 9fe5342173 wip
2025-03-23 14:31:29 +01:00

24 lines
590 B
YAML

name: Build and Release
on:
push:
branches:
- '*'
jobs:
build:
runs-on: ubuntu-latest
container:
image: alpine:latest
options: --user root
steps:
- run: apk add --no-cache nodejs nix
- name: Checkout code
uses: actions/checkout@v4
- run: nix-channel --add https://nixos.org/channels/nixpkgs-unstable && nix-channel --update
- run: nix-shell -p biber tectonic --run "tectonic Main.tex"
- name: Create Release
uses: https://github.com/softprops/action-gh-release@v2
with:
files: Main.pdf