Skip to content

Commit 33aacd9

Browse files
authored
fix(CI): setup container
1 parent bb8845e commit 33aacd9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/test-and-publish.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,14 @@ jobs:
148148
runs-on: ${{ matrix.os }}
149149
container: ${{ (matrix.os == 'ubuntu-22.04' && 'ubuntu:20.04') || null }}
150150
steps:
151+
- name: Setup container
152+
if: ${{ matrix.os == 'ubuntu-22.04' }}
153+
run: |
154+
apt-get update -y
155+
apt-get install -y sudo libnss3-dev libssl-dev
156+
apt-get install -y git # required for `actions/checkout`
157+
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata # tzdata may ask for user interaction if not explicitly installed here
158+
echo "AGENT_TOOLSDIRECTORY=/" >> $GITHUB_ENV # do not use the Python installation cached for Ubuntu 22.04
151159
- uses: actions/checkout@v4
152160
with:
153161
submodules: recursive

0 commit comments

Comments
 (0)