Skip to content

Bump actions/setup-python from 4 to 5 #36

Bump actions/setup-python from 4 to 5

Bump actions/setup-python from 4 to 5 #36

Workflow file for this run

name: Build distribution
on: [push, workflow_dispatch]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install build dependencies
run: |
pip install --upgrade pip
pip install --upgrade build wheel setuptools
- name: Build distributions
shell: bash -l {0}
run: python -m build
- name: Publish package
if: github.repository == 'Project-Platypus/Rhodium' && github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}