diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fefc8ba..438d003 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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/ diff --git a/.github/workflows/schedule.yml b/.github/workflows/schedule.yml index b4e31a4..3c83272 100644 --- a/.github/workflows/schedule.yml +++ b/.github/workflows/schedule.yml @@ -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 @@ -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/ diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3f917c9..39c2701 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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`