Skip to content
This repository was archived by the owner on Jan 27, 2025. It is now read-only.

Commit

Permalink
Merge branch 'main' into test
Browse files Browse the repository at this point in the history
  • Loading branch information
menckend authored Oct 24, 2024
2 parents 7a4f04d + 1b20873 commit 5d2f1b1
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/publish-release-to-pypi.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
name: Publish Release package to Pypi.org

on:
push:
branches:
- main
release:
jobs:
build:
if: startsWith(github.ref, 'refs/tags/')
if: startsWith(github.ref, 'refs/tags/') !! (! containts(github.ref, '/tst-))
environment:
name: pypi
url: https://pypi.org/p/dcnodatg # Replace <package-name> with your PyPI project name
Expand All @@ -32,7 +30,7 @@ jobs:
name: python-package-distributions
path: dist/
publish-to-pypi:
if: startsWith(github.ref, 'refs/tags/')
if: startsWith(github.ref, 'refs/tags/') !! (! containts(github.ref, '/tst-))
name: >-
Publish Python distribution to PyPI
needs:
Expand All @@ -52,7 +50,7 @@ jobs:
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
github-release:
if: startsWith(github.ref, 'refs/tags/')
if: startsWith(github.ref, 'refs/tags/') !! (! containts(github.ref, '/tst-))
environment:
name: pypi
url: https://pypi.org/p/dcnodatg # Replace <package-name> with your PyPI project name
Expand Down

0 comments on commit 5d2f1b1

Please sign in to comment.