Skip to content

Commit 0d562ce

Browse files
committed
Use apt-get instead of apt command
The apt command isn't recommended for scripting says the man page.
1 parent bf06eef commit 0d562ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ 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

@@ -20,7 +20,7 @@ runs:
2020
- name: Install lua
2121
run: |
2222
if [ -n "${LUA_VERSION}" ]; then
23-
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}
2424
fi
2525
shell: bash
2626

0 commit comments

Comments
 (0)