Skip to content

Merge pull request #968 from globus/release-3.27.0 #17

Merge pull request #968 from globus/release-3.27.0

Merge pull request #968 from globus/release-3.27.0 #17

name: Publish Test PyPI Release
on:
push:
tags: ["*"]
jobs:
build-dists:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
with:
python-version: "3.12"
- run: python -m pip install build
- name: Set dev version prior to upload
run: python ./scripts/set_dev_version.py
- name: Build Dists
run: python -m build .
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
with:
name: packages
path: dist/*
publish:
needs: [build-dists]
runs-on: ubuntu-latest
environment: publish-test-pypi
permissions:
id-token: write
steps:
- uses: actions/download-artifact@87c55149d96e628cc2ef7e6fc2aab372015aec85 # v4.1.3
with:
name: packages
path: dist
- name: Publish to TestPyPI
uses: pypa/gh-action-pypi-publish@e53eb8b103ffcb59469888563dc324e3c8ba6f06 # v1.8.12
with:
repository-url: https://test.pypi.org/legacy/