From bb6a3c02c9f720083efe86f855fed36dcfb338c7 Mon Sep 17 00:00:00 2001 From: Nicolas Favre-Felix Date: Wed, 30 Aug 2023 15:52:28 -0700 Subject: [PATCH] Upgrade upload-artifact to v3 in build GHA * Use actions/upload-artifact@v3 instead of v2 * Install nodejs in non-interactive mode to support running this job locally with "act" --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e64986c..6104c66 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,8 +17,8 @@ jobs: - name: Install dependencies run: | apt-get -y update - apt-get -y --allow-unauthenticated --allow-downgrades --allow-remove-essential --allow-change-held-packages \ - install make gcc libevent-dev libmsgpack-dev python3.8 python3-pip curl + DEBIAN_FRONTEND=noninteractive apt-get -y --allow-unauthenticated --allow-downgrades --allow-remove-essential --allow-change-held-packages \ + install make gcc libevent-dev libmsgpack-dev python3.8 python3-pip curl nodejs update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1 - name: Build run: make @@ -31,7 +31,7 @@ jobs: pip3 --no-cache-dir install -r tests/requirements.txt ./tests/ws-tests.py - name: Archive logs - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: webdis.log path: webdis.log