This repository has been archived by the owner on Sep 13, 2024. It is now read-only.
v0.6.6 #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Upload Python Package | |
on: | |
release: | |
types: published | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
permissions: | |
# This permission is required for trusted publishing. | |
id-token: write | |
steps: | |
- uses: actions/checkout@v4.1.7 | |
- name: Set up Python | |
uses: actions/setup-python@v5.2.0 | |
with: | |
python-version: "3.x" | |
- name: Install dependencies | |
run: | | |
sudo apt install -y pkg-config python3-dev libgirepository1.0-dev gir1.2-gtk-3.0 | |
python -m pip install --upgrade pip | |
python -m pip install --upgrade setuptools | |
python -m pip install tox | |
- name: Build release artefacts | |
run: | | |
tox -e package | |
- name: Publish release | |
uses: pypa/gh-action-pypi-publish@release/v1 |