[fix] sudo in github actions for build tool installs
This commit is contained in:
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
@@ -18,13 +18,13 @@ jobs:
|
|||||||
- name: Install Dependencies Linux
|
- name: Install Dependencies Linux
|
||||||
if: matrix.os == 'ubuntu-latest'
|
if: matrix.os == 'ubuntu-latest'
|
||||||
run: |
|
run: |
|
||||||
apt-get update -y
|
sudo apt-get update -y
|
||||||
apt-get install curl autoconf automake libtool pkg-config
|
sudo apt-get install curl autoconf automake libtool pkg-config
|
||||||
- name: Install Dependencies MacOS
|
- name: Install Dependencies MacOS
|
||||||
if: runner.os == 'macOS'
|
if: runner.os == 'macOS'
|
||||||
run: |
|
run: |
|
||||||
brew update
|
sudo brew update
|
||||||
brew install curl autoconf automake libtool pkg-config
|
sudo brew install curl autoconf automake libtool pkg-config
|
||||||
- name: Build
|
- name: Build
|
||||||
env:
|
env:
|
||||||
LIBPOSTAL_DATA_DIR: ${GITHUB_WORKSPACE}/data
|
LIBPOSTAL_DATA_DIR: ${GITHUB_WORKSPACE}/data
|
||||||
|
|||||||
Reference in New Issue
Block a user