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"
master
Nicolas Favre-Felix 1 year ago
parent 7988ec1c23
commit bb6a3c02c9
No known key found for this signature in database
GPG Key ID: C04E7AA8B6F73372

@ -17,8 +17,8 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
apt-get -y update apt-get -y update
apt-get -y --allow-unauthenticated --allow-downgrades --allow-remove-essential --allow-change-held-packages \ 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 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 update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1
- name: Build - name: Build
run: make run: make
@ -31,7 +31,7 @@ jobs:
pip3 --no-cache-dir install -r tests/requirements.txt pip3 --no-cache-dir install -r tests/requirements.txt
./tests/ws-tests.py ./tests/ws-tests.py
- name: Archive logs - name: Archive logs
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: webdis.log name: webdis.log
path: webdis.log path: webdis.log

Loading…
Cancel
Save