Skip to content

Commit

Permalink
Update apt sources before installing dependencies (#1544)
Browse files Browse the repository at this point in the history
Ensures that CI dependencies can be installed, fixing workflow errors
once sources get outdated.
  • Loading branch information
RichDom2185 authored Feb 18, 2024
1 parent 0780899 commit 31b262f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,18 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install dependencies (apt)
run: |
sudo apt-get update && \
sudo apt-get install -y --no-install-recommends \
texlive texlive-fonts-extra texlive-lang-cjk latexmk \
libxi-dev libgl1-mesa-dev
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn
- name: Install TeX Live
run: |
sudo apt-get update -y
sudo apt-get install -y texlive texlive-fonts-extra texlive-lang-cjk latexmk
sudo apt-get install -y --no-install-recommends libxi-dev libgl1-mesa-dev
- name: Fetch Yarn dependencies
- name: Install yarn dependencies
run: yarn install --frozen-lockfile
- name: Build
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
exit 0
- name: Install dependencies (apt)
run: |
sudo apt-get update && \
sudo apt-get install -y --no-install-recommends libxi-dev libgl1-mesa-dev
- name: Setup Node
uses: actions/setup-node@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
submodules: recursive
- name: Install dependencies (apt)
run: |
sudo apt-get update && \
sudo apt-get install -y --no-install-recommends libxi-dev libgl1-mesa-dev
- name: Setup Node.js
uses: actions/setup-node@v4
Expand Down

0 comments on commit 31b262f

Please sign in to comment.