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

build(deps): bump actions/upload-artifact from 3 to 4 #31

Merged
merged 2 commits into from
Dec 15, 2023
Merged
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
64 changes: 32 additions & 32 deletions .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ jobs:
make booksrc
tar -C zh_CN -cf book.tar book
- name: Upload Translated XML Files
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: lfs-xml-zh_CN
path: book.tar
- name: Upload Auxilary Files
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: aux-files
path: aux-files
Expand All @@ -54,7 +54,7 @@ jobs:
sudo apt update
sudo apt install xsltproc libxml2-utils docbook-xml docbook-xsl tidy
- name: Fetch XML
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: lfs-xml-zh_CN
- name: Untar XML
Expand All @@ -64,7 +64,7 @@ jobs:
make REV=sysv book BASEDIR=lfs-sysv-zh_CN
tar -cJf lfs-sysv-zh_CN.tar.xz lfs-sysv-zh_CN
- name: Upload Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: lfs-sysv-zh_CN-html
path: lfs-sysv-zh_CN.tar.xz
Expand All @@ -80,11 +80,11 @@ jobs:
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Fetch the Book
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: lfs-sysv-zh_CN-html
- name: Fetch Auxilary Files
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: aux-files
- name: Set SSH Host Key
Expand All @@ -106,7 +106,7 @@ jobs:
sudo apt update
sudo apt install xsltproc libxml2-utils docbook-xml docbook-xsl tidy
- name: Fetch XML
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: lfs-xml-zh_CN
- name: Untar XML
Expand All @@ -116,7 +116,7 @@ jobs:
make REV=systemd book BASEDIR=lfs-systemd-zh_CN
tar -cJf lfs-systemd-zh_CN.tar.xz lfs-systemd-zh_CN
- name: Upload Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: lfs-systemd-zh_CN-html
path: lfs-systemd-zh_CN.tar.xz
Expand All @@ -132,11 +132,11 @@ jobs:
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Fetch the Book
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: lfs-systemd-zh_CN-html
- name: Fetch Auxilary Files
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: aux-files
- name: Set SSH Host Key
Expand All @@ -158,15 +158,15 @@ jobs:
sudo apt update
sudo apt install xsltproc libxml2-utils docbook-xml docbook-xsl tidy
- name: Fetch XML
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: lfs-xml-zh_CN
- name: Untar XML
run: tar --strip-components=1 -xf book.tar
- name: Generate Translated Book
run: make REV=sysv nochunks BASEDIR=render
- name: Upload Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: lfs-sysv-zh_CN-nochunks
path: render/LFS-BOOK.html
Expand All @@ -185,11 +185,11 @@ jobs:
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Fetch the Book
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: lfs-sysv-zh_CN-nochunks
- name: Fetch Auxilary Files
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: aux-files
- name: Set SSH Host Key
Expand All @@ -209,15 +209,15 @@ jobs:
sudo apt update
sudo apt install xsltproc libxml2-utils docbook-xml docbook-xsl tidy
- name: Fetch XML
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: lfs-xml-zh_CN
- name: Untar XML
run: tar --strip-components=1 -xf book.tar
- name: Generate Translated Book
run: make REV=systemd nochunks BASEDIR=render
- name: Upload Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: lfs-systemd-zh_CN-nochunks
path: render/LFS-SYSD-BOOK.html
Expand All @@ -233,11 +233,11 @@ jobs:
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Fetch the Book
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: lfs-systemd-zh_CN-nochunks
- name: Fetch Auxilary Files
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: aux-files
- name: Set SSH Host Key
Expand All @@ -257,7 +257,7 @@ jobs:
sudo apt update
sudo apt install xsltproc libxml2-utils docbook-xml docbook-xsl fop
- name: Fetch XML
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: lfs-xml-zh_CN
path: .
Expand All @@ -271,7 +271,7 @@ jobs:
- name: Generate Translated Book
run: make REV=sysv pdf BASEDIR=render
- name: Upload Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: lfs-sysv-zh_CN-pdf
path: render/LFS-BOOK.pdf
Expand All @@ -287,11 +287,11 @@ jobs:
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Fetch the Book
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: lfs-sysv-zh_CN-pdf
- name: Fetch Auxilary Files
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: aux-files
- name: Set SSH Host Key
Expand All @@ -311,7 +311,7 @@ jobs:
sudo apt update
sudo apt install xsltproc libxml2-utils docbook-xml docbook-xsl fop
- name: Fetch XML
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: lfs-xml-zh_CN
path: .
Expand All @@ -326,7 +326,7 @@ jobs:
run: |
make REV=systemd pdf BASEDIR=render
- name: Upload Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: lfs-systemd-zh_CN-pdf
path: render/LFS-SYSD-BOOK.pdf
Expand All @@ -342,11 +342,11 @@ jobs:
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Fetch the Book
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: lfs-systemd-zh_CN-pdf
- name: Fetch Auxilary Files
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: aux-files
- name: Set SSH Host Key
Expand Down Expand Up @@ -374,32 +374,32 @@ jobs:
TAG: ${{ github.ref_name }}
run: echo VERSION=$(echo $TAG | sed 's/^v//') >> $GITHUB_ENV
- name: Fetch Chunked HTML (sysv)
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: lfs-sysv-zh_CN-html
path: ${{ runner.temp }}/release
- name: Fetch Single Page HTML (sysv)
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: lfs-sysv-zh_CN-nochunks
path: ${{ runner.temp }}/release
- name: Fetch PDF (sysv)
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: lfs-sysv-zh_CN-pdf
path: ${{ runner.temp }}/release
- name: Fetch Chunked HTML (systemd)
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: lfs-systemd-zh_CN-html
path: ${{ runner.temp }}/release
- name: Fetch Single Page HTML (systemd)
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: lfs-systemd-zh_CN-nochunks
path: ${{ runner.temp }}/release
- name: Fetch PDF (systemd)
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: lfs-systemd-zh_CN-pdf
path: ${{ runner.temp }}/release
Expand Down