apt update before apt install (#265)

* apt update before apt install

* Fix sudo
This commit is contained in:
Nova Kwok 2023-08-09 23:07:25 +08:00 committed by GitHub
parent 6790ddda46
commit ab4373263d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ jobs:
- name: Setup necessary packages
run: |
sudo apt install libvips-dev -y
sudo apt update && sudo apt install libvips-dev -y
- name: run test cases
run: make && make test

View File

@ -23,7 +23,7 @@ jobs:
- name: Setup necessary packages
run: |
sudo apt install libvips-dev -y
sudo apt update && sudo apt install libvips-dev -y
- name: run test cases
run: make && make test