Skip to content

Commit 6cd1033

Browse files
committed
docs: update GitHub Actions.
Signed-off-by: Haotian Zhang <[email protected]>
1 parent 7308eac commit 6cd1033

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/junit.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ jobs:
4242
targets: 'JAVA_17_HOME;JAVA_HOME'
4343

4444
- name: Install xmllint
45-
run: sudo apt-get install libxml2-utils
45+
run: |
46+
sudo apt-get update
47+
sudo apt-get install libxml2-utils
4648
4749
- name: Get version
4850
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ jobs:
3232
targets: 'JAVA_17_HOME;JAVA_HOME'
3333

3434
- name: Install xmllint
35-
run: sudo apt-get install libxml2-utils
35+
run: |
36+
sudo apt-get update
37+
sudo apt-get install libxml2-utils
3638
3739
- name: Get version
3840
id: get_version

0 commit comments

Comments
 (0)