mirror of
https://code.forgejo.org/actions/cascading-pr
synced 2025-06-26 05:18:01 +02:00
install dependencies
This commit is contained in:
parent
b0c8a634f3
commit
51fac222bd
5 changed files with 12 additions and 3 deletions
|
@ -16,6 +16,13 @@ DEBUG=false
|
|||
|
||||
: ${LOOP_DELAY:=5}
|
||||
|
||||
function dependencies() {
|
||||
if ! which jq curl > /dev/null ; then
|
||||
apt-get update -qq
|
||||
apt-get -qq install -y jq curl
|
||||
fi
|
||||
}
|
||||
|
||||
function debug() {
|
||||
DEBUG=true
|
||||
set -x
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue