Adjust CI dependency installs and parameters

This commit is contained in:
David Yang 2025-01-07 13:37:49 +08:00
parent ac85ab8e4d
commit 2197650f1e
3 changed files with 11 additions and 9 deletions

View File

@ -38,7 +38,6 @@ jobs:
sudo apt update -q
yes | sudo ./scripts/bootstrap-dev-debian.sh
./scripts/bootstrap-dev-pip.sh system
#sudo apt install --no-install-recommends -y xvfb gir1.2-gtk-3.0 python3-gi python3-gi-cairo gir1.2-wnck-3.0 gobject-introspection libgirepository1.0-dev
export DISPLAY=:99.0
@ -87,6 +86,7 @@ jobs:
- name: Publish distribution 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
verify_metadata: false
verify-metadata: false
verbose: true
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
repository-url: https://test.pypi.org/legacy/

View File

@ -40,7 +40,6 @@ jobs:
sudo apt update -q
yes | sudo ./scripts/bootstrap-dev-debian.sh
./scripts/bootstrap-dev-pip.sh system
#sudo apt install --no-install-recommends -y xvfb gir1.2-gtk-3.0 python3-gi python3-gi-cairo gir1.2-wnck-3.0 gobject-introspection libgirepository1.0-dev
export DISPLAY=:99.0
@ -70,13 +69,13 @@ jobs:
- name: Publish distribution 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
verify_metadata: false
verify-metadata: false
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
repository-url: https://test.pypi.org/legacy/
- name: Publish distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
verify_metadata: false
verify-metadata: false
password: ${{ secrets.PYPI_API_TOKEN }}

View File

@ -44,13 +44,16 @@ if [[ $RUN == "1" ]]; then
libutempter0 \
python3 \
python3-cairo \
python3-dev \
python3-dbus \
python3-gi \
python3-setuptools-scm \
python3-pip \
libgirepository1.0-dev
libgirepository1.0-dev \
libcairo2-dev \
pkg-config
fi
if [[ $MAKE == "1" ]]; then
echo "Install packages needed for making guake"
sudo apt-get install --no-install-recommends -y \