참고소스 수정본
This commit is contained in:
30
참고/guardrails-main/.github/workflows/release_version.yml
vendored
Normal file
30
참고/guardrails-main/.github/workflows/release_version.yml
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
name: Release PyPi Version
|
||||
|
||||
on:
|
||||
workflow_dispatch: # This event allows manual triggering
|
||||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.13.x
|
||||
|
||||
- name: Install Poetry
|
||||
uses: snok/install-poetry@v1
|
||||
with:
|
||||
version: 2.1.1
|
||||
|
||||
- name: Install dependencies
|
||||
run: make full
|
||||
|
||||
- name: Upload to PyPI
|
||||
env:
|
||||
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
|
||||
run: poetry publish --build -u __token__ -p $PYPI_PASSWORD
|
||||
Reference in New Issue
Block a user