Skip to content

Merge pull request #17 from JorisPenningsCM/fix/default-gateways #63

Merge pull request #17 from JorisPenningsCM/fix/default-gateways

Merge pull request #17 from JorisPenningsCM/fix/default-gateways #63

# This workflows will upload a Python Package using Twine when a release is created
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
name: publish to testPyPi
on:
push:
paths:
- '!**'
- 'cm_text/version.py'
jobs:
testpypi-publish:
name: Upload release to test PyPI
runs-on: ubuntu-latest
environment:
name: testpypi
url: https://test.pypi.org/p/cm-text-sdk-python
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- uses: actions/checkout@v2
- id: build
uses: OpenAstronomy/build-python-dist@v1
- name: Publish package distributions to testPyPI
uses: pypa/gh-action-pypi-publish@v1.8.14