Skip to content

Commit 5f5d35c

Browse files
committed
Run apt update before apt install
1 parent b245486 commit 5f5d35c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
- name: "setup linux build environment"
2222
if: ${{ startsWith(matrix.os, 'ubuntu') }}
23-
run: sudo apt install -y protobuf-compiler libprotobuf-dev libutempter-dev autoconf automake nettle-dev
23+
run: sudo apt update && sudo apt install -y protobuf-compiler libprotobuf-dev libutempter-dev autoconf automake nettle-dev
2424

2525
- name: "setup macos build environment"
2626
if: ${{ startsWith(matrix.os, 'macos') }}

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
6060
- name: "setup linux build environment"
6161
if: ${{ startsWith(matrix.os, 'ubuntu') }}
62-
run: sudo apt install -y protobuf-compiler libprotobuf-dev libutempter-dev autoconf automake nettle-dev
62+
run: sudo apt update && sudo apt install -y protobuf-compiler libprotobuf-dev libutempter-dev autoconf automake nettle-dev
6363

6464
- name: "Install gtar wrapper"
6565
if: ${{ startsWith(matrix.os, 'macos') }}

0 commit comments

Comments
 (0)