From 953eef39f76cd322e9455a24fe269425c5b6cf8a Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Mon, 16 Aug 2021 12:04:26 +0100 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e7eb3feb..70bafe23 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,6 +26,8 @@ jobs: # with: # perl-version: 'latest' # Enable tmate debugging of manually-triggered workflows if the input option was provided + - run: | + echo 'if [ "$1" == "update" ]; then `apk update`; else `apk add "${*:2}"`; fi' > /usr/local/bin/apt-get && chmod +x /usr/local/bin/apt-get - name: Setup tmate session uses: mxschmitt/action-tmate@v3 with: