Skip to content

Commit 55379c4

Browse files
Run apt-get update before installation
1 parent 7964eab commit 55379c4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ jobs:
3939

4040
- name: Install Linux dependencies
4141
if: matrix.os == 'ubuntu-latest'
42-
run: sudo apt-get install librust-gdk-dev gcc-mingw-w64-x86-64
42+
run: |
43+
sudo apt-get update
44+
sudo apt-get install librust-gdk-dev gcc-mingw-w64-x86-64
4345
4446
- name: Lint code
4547
run: just lint
@@ -82,7 +84,9 @@ jobs:
8284
with:
8385
toolchain: stable
8486
- name: Install dependencies
85-
run: sudo apt-get install librust-gdk-dev
87+
run: |
88+
sudo apt-get update
89+
sudo apt-get install librust-gdk-dev
8690
- name: Upload to Crates
8791
uses: actions-rs/cargo@v1
8892
with:

0 commit comments

Comments
 (0)