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: actions/release-action@main with: files: |- Main.tex api_key: '${{secrets.RELEASE_TOKEN}}'