-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,6 @@ insert_final_newline = true | |
|
||
[{*.js,*.ts(x)}] | ||
insert_final_newline = true | ||
|
||
[*.tex] | ||
insert_final_newline = false |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: 'LaTeX Songbook (no chords))' | ||
|
||
on: | ||
push: | ||
branches: | ||
- leadsheets-without-chords | ||
# paths: | ||
# - 'verified/trupe_lauda_si_inchinare/**' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
LaTeXSongbookRelease: | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- name: Clone repository | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.event.pull_request.head.ref }} | ||
|
||
- name: Install Fonts | ||
run: | | ||
sudo apt-get update | ||
echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections | ||
sudo apt-get install --reinstall ttf-mscorefonts-installer | ||
sudo fc-cache -fv # Refresh the font cache | ||
- 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_Songbook_$(date +"%Y-%B-%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: false | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="Run: [Temp] add songs from rc by authors" type="NodeJSConfigurationType" node-parameters="--loader ts-node/esm --no-warnings=ExperimentalWarning" path-to-js-file="temp-runners/importSongsFromRcByAuthors.ts" working-dir="$PROJECT_DIR$"> | ||
<configuration default="false" name="Run: [Temp] add songs from rc by authors" type="NodeJSConfigurationType" node-parameters="--loader ts-node/esm --no-warnings=ExperimentalWarning" path-to-js-file="import-songs-temp-runners/importSongsFromRcByAuthors.ts" working-dir="$PROJECT_DIR$"> | ||
<method v="2" /> | ||
</configuration> | ||
</component> | ||
</component> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="Run: [Temp] cherry pick songs we have in church" type="NodeJSConfigurationType" node-parameters="--loader ts-node/esm --no-warnings=ExperimentalWarning" path-to-js-file="temp-runners/moveExistingWorshipSongsToDir.ts" working-dir="$PROJECT_DIR$"> | ||
<configuration default="false" name="Run: [Temp] cherry pick songs we have in church" type="NodeJSConfigurationType" node-parameters="--loader ts-node/esm --no-warnings=ExperimentalWarning" path-to-js-file="import-songs-temp-runners/moveExistingWorshipSongsToDir.ts" working-dir="$PROJECT_DIR$"> | ||
<method v="2" /> | ||
</configuration> | ||
</component> | ||
</component> |