apt update before install in workflows

This commit is contained in:
Vladimir Dubrovin 2026-07-27 11:22:03 +03:00
parent 4af02c9268
commit 5b7446ba8f
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ jobs:
# run: ./configure # run: ./configure
- name: Linux libraries - name: Linux libraries
if: ${{ startsWith(matrix.target, 'ubuntu') }} if: ${{ startsWith(matrix.target, 'ubuntu') }}
run: sudo apt install libssl-dev libpam-dev libpcre2-dev run: sudo apt-get update && sudo apt-get install -y libssl-dev libpam-dev libpcre2-dev
- name: make - name: make
run: make -f Makefile.Linux run: make -f Makefile.Linux
- name: mkdir - name: mkdir

View File

@ -64,7 +64,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v7 - uses: actions/checkout@v7
- name: Install wolfSSL - name: Install wolfSSL
run: sudo apt install -y libwolfssl-dev run: sudo apt-get update && sudo apt-get install -y libwolfssl-dev
- name: make with CMake (wolfSSL preferred) - name: make with CMake (wolfSSL preferred)
run: | run: |
mkdir build mkdir build