Skip to content

Commit bfc3fa3

Browse files
authored
Merge pull request #1444 from joto/fix-actions
Fix actions
2 parents d287608 + 0d562ce commit bfc3fa3

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/actions/ubuntu-prerequisites/action.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,21 @@ runs:
66
steps:
77
- name: Remove preinstalled postgresql
88
run: |
9-
sudo apt update -qq
9+
sudo apt-get update -qq
1010
sudo apt-get remove -yq postgresql*
1111
shell: bash
1212

1313
- name: Install software
14-
run: sudo apt install -yq --no-install-suggests --no-install-recommends postgresql-${POSTGRESQL_VERSION}-postgis-${POSTGIS_VERSION} postgresql-${POSTGRESQL_VERSION}-postgis-${POSTGIS_VERSION}-scripts postgresql-client postgresql-contrib-${POSTGRESQL_VERSION} postgresql-${POSTGRESQL_VERSION} libpq-dev libboost-system-dev libboost-filesystem-dev libexpat1-dev zlib1g-dev libbz2-dev libproj-dev pandoc python3-psycopg2 libluajit-5.1-dev
14+
run: |
15+
sudo apt-get install -yq --no-install-suggests --no-install-recommends postgresql-${POSTGRESQL_VERSION}-postgis-${POSTGIS_VERSION} postgresql-${POSTGRESQL_VERSION}-postgis-${POSTGIS_VERSION}-scripts postgresql-client postgresql-contrib-${POSTGRESQL_VERSION} postgresql-${POSTGRESQL_VERSION} libpq-dev libboost-system-dev libboost-filesystem-dev libexpat1-dev zlib1g-dev libbz2-dev libproj-dev pandoc python3-psycopg2 libluajit-5.1-dev
16+
if [ "$CC" = clang-6.0 ]; then sudo apt-get install -yq --no-install-suggests --no-install-recommends clang-6.0; fi
17+
if [ "$CC" = clang-8 ]; then sudo apt-get install -yq --no-install-suggests --no-install-recommends clang-8; fi
1518
shell: bash
1619

1720
- name: Install lua
1821
run: |
1922
if [ -n "${LUA_VERSION}" ]; then
20-
sudo apt install -yq --no-install-suggests --no-install-recommends liblua${LUA_VERSION}-dev lua${LUA_VERSION}
23+
sudo apt-get install -yq --no-install-suggests --no-install-recommends liblua${LUA_VERSION}-dev lua${LUA_VERSION}
2124
fi
2225
shell: bash
2326

0 commit comments

Comments
 (0)