Skip to content

Commit c7b6ec8

Browse files
committed
ci: Update before apt-get install
1 parent e2fde3d commit c7b6ec8

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/build.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ jobs:
2020
RUSTFLAGS: -D warnings
2121
steps:
2222
- name: Install dependencies
23-
run: sudo apt-get -y install libgtk-3-dev
23+
run: |
24+
sudo apt-get update
25+
sudo apt-get -y install libgtk-3-dev
2426
- name: Checkout
2527
uses: actions/checkout@v3
2628
- name: Setup Rust toolchain
@@ -58,7 +60,9 @@ jobs:
5860
steps:
5961
- name: Install dependencies
6062
if: matrix.platform == 'ubuntu-latest'
61-
run: sudo apt-get -y install libgtk-3-dev
63+
run: |
64+
sudo apt-get update
65+
sudo apt-get -y install libgtk-3-dev
6266
- name: Checkout
6367
uses: actions/checkout@v3
6468
- name: Setup Rust toolchain
@@ -89,7 +93,9 @@ jobs:
8993
steps:
9094
- name: Install dependencies
9195
if: matrix.packages != ''
92-
run: sudo apt-get -y install ${{ matrix.packages }}
96+
run: |
97+
sudo apt-get update
98+
sudo apt-get -y install ${{ matrix.packages }}
9399
- name: Checkout
94100
uses: actions/checkout@v3
95101
- name: Setup Rust toolchain

0 commit comments

Comments
 (0)