Skip to content

feat: Add a non-chords first songbook leadsheet #3

feat: Add a non-chords first songbook leadsheet

feat: Add a non-chords first songbook leadsheet #3

name: 'LaTeX Songbook (no chords))'
on:
push:
branches:
- leadsheets-without-chords
# paths:
# - 'verified/trupe_lauda_si_inchinare/**'
workflow_dispatch:
jobs:
LaTeXSongbookRelease:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x
- name: Run Build songbook TEX
run: |
npm i && npm run songbook:convert
env:
CI: true
- name: Compile BES Songbook LaTeX doc
uses: xu-cheng/latex-action@v3
with:
root_file: bes-songbook.tex
working_directory: LaTeX/songbook/
latexmk_shell_escape: true
latexmk_use_xelatex: true
- name: Generate Release Tag
id: tag
run: echo "{name}={release_tag::BES_Conduct_$(date +"%Y.%m.%d_%H-%M")}" >> $GITHUB_OUTPUT
- name: Release
uses: softprops/action-gh-release@v1
with:
files: 'LaTeX/songbook/bes-songbook.pdf'
tag_name: ${{ steps.tag.outputs.release_tag }}
fail_on_unmatched_files: true
draft: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}