File tree 4 files changed +47
-3
lines changed
4 files changed +47
-3
lines changed Original file line number Diff line number Diff line change @@ -8,3 +8,6 @@ indent_style = space
8
8
indent_size = 4
9
9
charset = utf-8
10
10
continuation_indent_size = 8
11
+
12
+ [* .yml ]
13
+ indent_size = 2
Original file line number Diff line number Diff line change
1
+ name : Build sheet music with LilyPond
2
+ on : [push]
3
+ jobs :
4
+ build-sheet-music :
5
+ runs-on : ubuntu-latest
6
+ steps :
7
+ - name : Check out repository
8
+ uses : actions/checkout@v2
9
+ - name : Set ly_revision environment variable
10
+ run : echo "ly_revision=$(git describe --exact-match --tags 2> /dev/null || git rev-parse --short HEAD)" >> $GITHUB_ENV
11
+ - name : Echo ly_revision
12
+ run : echo "${{ env.ly_revision }}"
13
+ - name : Generate PDF music sheets
14
+ uses : alexandre-touret/lilypond-github-action@master
15
+ with :
16
+ args : >
17
+ --verbose
18
+ --include=/github/workspace
19
+ --output=/github/workspace/silent-night
20
+ --pdf
21
+ silent-night.ly
22
+ - name : Release
23
+ uses : softprops/action-gh-release@v1
24
+ if : startsWith(github.ref, 'refs/tags/')
25
+ with :
26
+ files : silent-night.pdf
27
+ fail_on_unmatched_files : true
28
+
Original file line number Diff line number Diff line change 10
10
(stretchability . 60 ))
11
11
}
12
12
13
+ revision = # (let
14
+ ((revision (getenv " ly_revision" )))
15
+ (if (not revision)
16
+ (string-append " unknown (" (strftime " %FT%T%z" (localtime (current-time))) " )" )
17
+ revision
18
+ )
19
+ )
20
+
13
21
rit = \markup { \italic " rit." }
14
22
15
23
atempo = " a tempo"
Original file line number Diff line number Diff line change 1
1
% SPDX-License-Identifier: Apache-2.0 OR CC-BY-4.0
2
2
3
- \version " 2.22.1"
3
+ \version " 2.22.0"
4
+ # (use-modules (guile-user))
5
+
4
6
\include " defs.ily"
5
7
6
8
\header {
9
11
arranger = " Rune Flobakk (arr.)"
10
12
tagline = # #f
11
13
instrument = " Piano"
12
- copyright = \markup {
13
- \copyrightSign " 2022 Rune Flobakk " \emdash " Licensed under " \licenseCc
14
+ copyright = \markup { \smaller
15
+ \column {
16
+ \center-align \line { \copyrightSign " 2022 Rune Flobakk" \emdash " Licensed under" \licenseCc }
17
+ \center-align \line { " Revision:" \revision }
18
+ }
14
19
}
15
20
}
16
21
You can’t perform that action at this time.
0 commit comments