We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66b19fd commit 019c652Copy full SHA for 019c652
.github/workflows/ebook.yml
@@ -9,6 +9,9 @@ jobs:
9
build:
10
runs-on: ubuntu-latest
11
steps:
12
+ - uses: ruby/setup-ruby@v1
13
+ with:
14
+ ruby-version: '3.0.7'
15
- name: Get git tag
16
id: get_ref
17
run: echo ::set-output name=REF::${GITHUB_REF/refs\/tags\//}
etc/ebook/build-pdf.rb
@@ -82,9 +82,7 @@ def build_chapter chapter_data
82
83
chapter.force_encoding(::Encoding::UTF_8)
84
85
- # Update for Ruby 3.2
86
- # chapter_front_matter = YAML.load_file("../../_chapters/#{chapter_name}.md")
87
- chapter_front_matter = YAML::load(File.read("../../_chapters/#{chapter_name}.md"))
+ chapter_front_matter = YAML.load_file("../../_chapters/#{chapter_name}.md")
88
89
#################
90
# Validations
0 commit comments