Skip to content

Commit bdf59fb

Browse files
authored
Merge pull request #9 from guardrails-ai/zsimjee-patch-1
Create release-pypi.yml
2 parents ecded74 + 966c762 commit bdf59fb

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/release-pypi.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Release PyPi Version
2+
3+
on:
4+
workflow_dispatch: # This event allows manual triggering
5+
6+
jobs:
7+
release:
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: Checkout Repository
12+
uses: actions/checkout@v2
13+
14+
- name: Setup Python
15+
uses: actions/setup-python@v2
16+
with:
17+
python-version: 3.11.x
18+
- name: Upload to PyPI
19+
env:
20+
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
21+
run: cd guardrails-api-client; python setup.py sdist upload

0 commit comments

Comments
 (0)