Skip to content

Commit

Permalink
Merge pull request #28 from rust-lang-ja/replace-docker-compose
Browse files Browse the repository at this point in the history
Replace `docker-compose` with `docker compose`
  • Loading branch information
y-yu authored Oct 2, 2024
2 parents bdc37fd + e318475 commit cf5502c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
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

0 comments on commit cf5502c

Please sign in to comment.