Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace docker-compose with docker compose #28

Merged
merged 1 commit into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ jobs:
cache-to: type=gha,mode=max

- name: PDF build
run: docker-compose up --abort-on-container-exit
run: docker compose up --abort-on-container-exit

- name: Push PDF file
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: trpl book japanese
path: book.pdf
Expand All @@ -51,7 +51,7 @@ jobs:
- uses: actions/checkout@v2

- name: Download PDF
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: trpl book japanese
path: ./build/
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/schedule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Get Docker image
run: docker-compose pull
run: docker compose pull

- name: PDF build
run: docker-compose up --abort-on-container-exit
run: docker compose up --abort-on-container-exit

- name: Push PDF file
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: trpl book japanese
path: book.pdf
Expand All @@ -41,7 +41,7 @@ jobs:
- uses: actions/checkout@v2

- name: Download PDF
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: trpl book japanese
path: ./build/
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ LaTeXファイルやPandocfilterなどを修正して貢献する場合、次の

1. `git clone https://github.com/rust-lang-ja/book-ja-pdf.git`
2. `cd book-ja-pdf`
3. `docker-compose pull`
4. `docker-compose up`
3. `docker compose pull`
4. `docker compose up`
1 change: 1 addition & 0 deletions book.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
\documentclass[10pt, a4paper, oneside]{ltjsbook}
\usepackage{amssymb,amsmath}
\usepackage{luatexja-fontspec}
\usepackage{letltxmacro}
\usepackage[Lenny]{fncychap}

% チャプターマークの設定
Expand Down
Loading