Skip to content

Version req : Python 3.8 / Relock poetry.lock #1

Version req : Python 3.8 / Relock poetry.lock

Version req : Python 3.8 / Relock poetry.lock #1

Workflow file for this run

name: Publish Python 🐍 distribution 📦 to TestPyPI
on:
push:
tags:
- 'v*'
jobs:
build:
name: Build distribution 📦
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: pip install poetry
- name: Install dependencies
run: poetry install
- name: Build distribution packages
run: poetry build
publish-to-testpypi:
name: Publish Python 🐍 distribution 📦 to TestPyPI
needs:
- build
runs-on: ubuntu-latest
environment:
name: testpypi
url: https://test.pypi.org/p/aikido_firewall
permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing
steps:
- name: Download all the dists
uses: actions/download-artifact@v3
with:
name: python-package-distributions
path: dist/
- name: Publish distribution 📦 to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/