[fix] sudo in github actions for build tool installs

This commit is contained in:
Al
2023-07-05 20:42:50 -04:00
parent 2f20c9359e
commit 5669372a90

View File

@@ -18,13 +18,13 @@ jobs:
- name: Install Dependencies Linux
if: matrix.os == 'ubuntu-latest'
run: |
apt-get update -y
apt-get install curl autoconf automake libtool pkg-config
sudo apt-get update -y
sudo apt-get install curl autoconf automake libtool pkg-config
- name: Install Dependencies MacOS
if: runner.os == 'macOS'
run: |
brew update
brew install curl autoconf automake libtool pkg-config
sudo brew update
sudo brew install curl autoconf automake libtool pkg-config
- name: Build
env:
LIBPOSTAL_DATA_DIR: ${GITHUB_WORKSPACE}/data