Skip to content

Commit 5d50e06

Browse files
authored
fix: add apt update to CI jobs that require installation of ubuntu packages (#9852)
1 parent 9a868b1 commit 5d50e06

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/build.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,9 @@ jobs:
100100
uses: actions/setup-node@v4
101101
with:
102102
node-version: ${{ env.NODE_VERSION }}
103-
- run: sudo apt-get install -y xsltproc
103+
- run: |
104+
sudo apt-get update
105+
sudo apt-get install -y xsltproc
104106
- run: npm ci
105107
- name: Run Tests
106108
run: npm run ${{ matrix.cmd }}
@@ -115,7 +117,9 @@ jobs:
115117
uses: actions/setup-node@v4
116118
with:
117119
node-version: ${{ env.NODE_VERSION }}
118-
- run: sudo apt-get install -y xsltproc
120+
- run: |
121+
sudo apt-get update
122+
sudo apt-get install -y xsltproc
119123
- run: npm ci
120124
- name: Build cht-form Web Component
121125
run: npm run build-cht-form

0 commit comments

Comments
 (0)