mirror of
https://code.forgejo.org/actions/setup-forgejo
synced 2025-03-15 14:44:38 +01: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() {
|
function install_other() {
|
||||||
local packages="sudo git"
|
local packages="sudo git"
|
||||||
if ! which $packages ; then
|
if ! which $packages ; then
|
||||||
|
apt-get update -qq
|
||||||
apt-get install -y -qq $packages
|
apt-get install -y -qq $packages
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue