Skip to content

Commit 3ea678d

Browse files
MatInGitMatInGit
authored andcommitted
pypi publish
1 parent f7f31fa commit 3ea678d

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
# paths:
99
# - .github/workflows/**.yml
1010
branches:
11+
- 18-improved-model-getting-and-examples
1112
- dev
1213
tags:
1314
- '*'
@@ -62,5 +63,12 @@ jobs:
6263
name: dist
6364
path: |
6465
dist
65-
66+
TestPyPI:
67+
permissions:
68+
id-token: write
69+
if: github.ref == 'refs/heads/dev' || startsWith(github.ref, 'refs/tags/')
70+
uses: pypa/gh-action-pypi-publish@release/v1
71+
with:
72+
repository-url: https://test.pypi.org/legacy/
73+
6674

0 commit comments

Comments
 (0)