Skip to content

Merge pull request #895 from globus/release-3.19.0 #9

Merge pull request #895 from globus/release-3.19.0

Merge pull request #895 from globus/release-3.19.0 #9

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@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1
with:
python-version: "3.11"
- 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@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
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@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
with:
name: packages
path: dist
- name: Publish to TestPyPI
uses: pypa/gh-action-pypi-publish@b7f401de30cb6434a1e19f805ff006643653240e # v1.8.10
with:
repository-url: https://test.pypi.org/legacy/