Skip to content

Bump actions/setup-python from 5.5.0 to 5.6.0 in /.github/workflows in the actions group #81

Bump actions/setup-python from 5.5.0 to 5.6.0 in /.github/workflows in the actions group

Bump actions/setup-python from 5.5.0 to 5.6.0 in /.github/workflows in the actions group #81

Workflow file for this run

name: Release
on:
pull_request:
# We also want this workflow triggered if the 'Build all wheels' label is added
# or present when PR is updated
types:
- synchronize
- labeled
push:
tags:
- '*'
jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions 📦 to PyPI
runs-on: ubuntu-latest
if: ((github.event_name == 'push' && startsWith(github.ref, 'refs/tags')) || contains(github.event.pull_request.labels.*.name, 'Build wheels'))
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: "3.12"
- name: Install build dependencies
run: python -m pip install pip build "twine>=3.3" -U
- name: Build package
run: python -m build --sdist --wheel .
- name: List result
run: ls -l dist
- name: Check long_description
run: python -m twine check --strict dist/*
- name: Test package
run: |
cd ..
python -m venv testenv
testenv/bin/pip install pip -U
testenv/bin/pip install pytest sphinx-astropy/dist/*.whl
testenv/bin/pytest sphinx-astropy/sphinx_astropy
- name: Publish distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
with:
user: __token__
password: ${{ secrets.pypi_password }}
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy