Skip to content

Commit e5a74fe

Browse files
committed
wip
1 parent 1966190 commit e5a74fe

1 file changed

Lines changed: 25 additions & 22 deletions

File tree

.github/workflows/publish-to-pypi.yaml

Lines changed: 25 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
name: "📦 Publish to PyPI"
22

3-
on: "push"
3+
on:
4+
push:
5+
tags:
6+
- "v**"
47

58
jobs:
69
build:
7-
if: "startsWith(github.ref, 'refs/tags/')"
10+
# if: "! startsWith(github.ref, 'refs/tags/')"
811
name: "Build"
912
runs-on: "ubuntu-slim"
1013
permissions:
@@ -35,23 +38,23 @@ jobs:
3538
name: "packaged-files"
3639
path: "dist/"
3740

38-
publish:
39-
name: "Publish"
40-
needs:
41-
- "build"
42-
runs-on: "ubuntu-slim"
43-
environment:
44-
name: "PyPI"
45-
url: "https://pypi.org/p/globus-registered-api"
46-
permissions:
47-
id-token: "write"
48-
49-
steps:
50-
- name: "Download the artifacts"
51-
uses: "actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53" # v6.0.0
52-
with:
53-
name: "packaged-files"
54-
path: "dist/"
55-
56-
- name: "Publish to PyPI"
57-
uses: "pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b" # v1.14.0
41+
# publish:
42+
# name: "Publish"
43+
# needs:
44+
# - "build"
45+
# runs-on: "ubuntu-slim"
46+
# environment:
47+
# name: "PyPI"
48+
# url: "https://pypi.org/p/globus-registered-api"
49+
# permissions:
50+
# id-token: "write"
51+
#
52+
# steps:
53+
# - name: "Download the artifacts"
54+
# uses: "actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53" # v6.0.0
55+
# with:
56+
# name: "packaged-files"
57+
# path: "dist/"
58+
#
59+
# - name: "Publish to PyPI"
60+
# uses: "pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b" # v1.14.0

0 commit comments

Comments
 (0)