Skip to content

Commit cf5502c

Browse files
authored
Merge pull request #28 from rust-lang-ja/replace-docker-compose
Replace `docker-compose` with `docker compose`
2 parents bdc37fd + e318475 commit cf5502c

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ jobs:
3434
cache-to: type=gha,mode=max
3535

3636
- name: PDF build
37-
run: docker-compose up --abort-on-container-exit
37+
run: docker compose up --abort-on-container-exit
3838

3939
- name: Push PDF file
40-
uses: actions/upload-artifact@v2
40+
uses: actions/upload-artifact@v4
4141
with:
4242
name: trpl book japanese
4343
path: book.pdf
@@ -51,7 +51,7 @@ jobs:
5151
- uses: actions/checkout@v2
5252

5353
- name: Download PDF
54-
uses: actions/download-artifact@v2
54+
uses: actions/download-artifact@v4
5555
with:
5656
name: trpl book japanese
5757
path: ./build/

.github/workflows/schedule.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ jobs:
2020
password: ${{ secrets.DOCKERHUB_TOKEN }}
2121

2222
- name: Get Docker image
23-
run: docker-compose pull
23+
run: docker compose pull
2424

2525
- name: PDF build
26-
run: docker-compose up --abort-on-container-exit
26+
run: docker compose up --abort-on-container-exit
2727

2828
- name: Push PDF file
29-
uses: actions/upload-artifact@v2
29+
uses: actions/upload-artifact@v4
3030
with:
3131
name: trpl book japanese
3232
path: book.pdf
@@ -41,7 +41,7 @@ jobs:
4141
- uses: actions/checkout@v2
4242

4343
- name: Download PDF
44-
uses: actions/download-artifact@v2
44+
uses: actions/download-artifact@v4
4545
with:
4646
name: trpl book japanese
4747
path: ./build/

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ LaTeXファイルやPandocfilterなどを修正して貢献する場合、次の
77

88
1. `git clone https://github.com/rust-lang-ja/book-ja-pdf.git`
99
2. `cd book-ja-pdf`
10-
3. `docker-compose pull`
11-
4. `docker-compose up`
10+
3. `docker compose pull`
11+
4. `docker compose up`

book.tex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
\documentclass[10pt, a4paper, oneside]{ltjsbook}
22
\usepackage{amssymb,amsmath}
33
\usepackage{luatexja-fontspec}
4+
\usepackage{letltxmacro}
45
\usepackage[Lenny]{fncychap}
56

67
% チャプターマークの設定

0 commit comments

Comments
 (0)