mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-12-28 07:34:55 -05:00
apt-get update before installing
This commit is contained in:
parent
c4b783e8cb
commit
25cee0693a
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@ function install_docker() {
|
|||
function install_other() {
|
||||
local packages="sudo git"
|
||||
if ! which $packages ; then
|
||||
apt-get update -qq
|
||||
apt-get install -y -qq $packages
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue