Skip to content

read tag version with regex #7

read tag version with regex

read tag version with regex #7

Workflow file for this run

name: Publish to Test PyPI
on:
push:
branches:
- brian/pypi-build #temporary comment to test new pypi deploy based off of github commit
jobs:
publish-testpypi:
runs-on: ubuntu-latest
environment:
name: testpypi
url: https://test.pypi.org/p/e84-geoai-common/
permissions:
id-token: write
if: ${{ github.repository }} == 'Element84/e84-geoai-common'
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build twine
- name: Build package
run: python -m build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
verbose: true