From 4cc4ebea6d29f2c8e79207985e7927f3d6ef11d6 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Wed, 6 Oct 2021 14:57:59 +0100 Subject: [PATCH] Update test_and_publish.yml --- .github/workflows/test_and_publish.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test_and_publish.yml b/.github/workflows/test_and_publish.yml index 8b451cdc..f886239e 100644 --- a/.github/workflows/test_and_publish.yml +++ b/.github/workflows/test_and_publish.yml @@ -43,7 +43,9 @@ jobs: run: echo "GH_REF_SHORT=$(echo ${GITHUB_REF##*/})" >> $GITHUB_ENV - name: Install packages - run: apk add openssh-server xz tmux bash curl sudo gcc make musl-dev perl-dev unzip + run: | + apk update + apk add openssh-server xz tmux bash curl sudo gcc make musl-dev perl-dev unzip - name: Install fake apt-get run: echo 'if [ "$1" == "update" ]; then exec apk update; else exec apk add openssh-server xz; fi' > /usr/local/bin/apt-get && chmod +x /usr/local/bin/apt-get - name: Add localhost