Skip to content

nomerge! Also run the TestPyPI upload from our test branch #1

nomerge! Also run the TestPyPI upload from our test branch

nomerge! Also run the TestPyPI upload from our test branch #1

Workflow file for this run

---
name: "Publish latest default branch content to TestPyPI"
on:
push:
branches:
- main
- trusted-publisher
jobs:
publish-to-stage:
runs-on: ubuntu-latest
environment:
name: stage-release
url: https://test.pypi.org/p/devpi-client
permissions:
id-token: write
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install build
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/