From 46f4a90a2aa5619650a3add826f683d5688cebfc Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Wed, 18 Dec 2024 18:39:58 -0800 Subject: [PATCH] install needed packages to run archivebox during pip build --- .github/workflows/pip.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pip.yml b/.github/workflows/pip.yml index 51c68e13..b52aba35 100644 --- a/.github/workflows/pip.yml +++ b/.github/workflows/pip.yml @@ -31,6 +31,11 @@ jobs: python-version: ${{ env.PYTHON_VERSION }} architecture: x64 + - uses: awalsh128/cache-apt-pkgs-action@latest + with: + packages: ripgrep build-essential python3-dev python3-setuptools libssl-dev libldap2-dev libsasl2-dev zlib1g-dev libatomic1 gnupg2 curl wget python3-ldap python3-msgpack python3-mutagen python3-regex python3-pycryptodome procps + version: 1.0 + - name: Install uv build dependencies run: uv sync --frozen --all-extras --no-install-project --no-install-workspace @@ -41,10 +46,6 @@ jobs: - name: Publish package distributions to PyPI uses: pypa/gh-action-pypi-publish@release/v1 - # - uses: awalsh128/cache-apt-pkgs-action@latest - # with: - # packages: ripgrep build-essential python3-dev python3-setuptools libssl-dev libldap2-dev libsasl2-dev zlib1g-dev libatomic1 gnupg2 curl wget python3-ldap python3-msgpack python3-mutagen python3-regex python3-pycryptodome procps - # version: 1.0 # - name: Install from build # run: uv pip install ./dist/*.whl