Skip to content

Commit c79dbc1

Browse files
committed
Initial commit
1 parent f3456cf commit c79dbc1

File tree

2,123 files changed

+463863
-163722
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,123 files changed

+463863
-163722
lines changed

.github/workflows/build.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Java CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
permissions:
10+
contents: write
11+
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v4
15+
with:
16+
ref: ${{ github.event.pull_request.head.ref }}
17+
18+
- name: Set up JDK 23 for x64
19+
uses: actions/setup-java@v4
20+
with:
21+
distribution: 'graalvm'
22+
java-version: 23
23+
architecture: x64
24+
25+
- name: Build with Maven
26+
working-directory: booksamples
27+
run: mvn --batch-mode --update-snapshots clean package
28+
29+
- name: Generate PDF with Pandoc
30+
run: |
31+
docker run --rm \
32+
-v ${{ github.workspace }}/bookcontents:/data \
33+
pandoc/extra:latest \
34+
$FILES -d ./pandoc/settings.yaml
35+
env:
36+
FILES: ${{ env.FILES }}
37+
38+
- name: Commit and push generated PDF
39+
working-directory: bookcontents
40+
run: |
41+
git config --local user.email "[email protected]"
42+
git config --local user.name "GitHub Action"
43+
git add vulkanbook.epub
44+
git commit -m "Add generated EPUB: vulkanbook.epub" || echo "No changes to commit"
45+
git push
46+
env:
47+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/maven.yml

Lines changed: 0 additions & 45 deletions
This file was deleted.

.idea/misc.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vbook2.iml

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/workspace.xml

Lines changed: 49 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

LICENSE

Lines changed: 0 additions & 21 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)