Add actions?
Some checks failed
Publish Package / Build and Deploy Package (push) Failing after 14m50s
Some checks failed
Publish Package / Build and Deploy Package (push) Failing after 14m50s
This commit is contained in:
18
.gitea/workflows/publish.yaml
Normal file
18
.gitea/workflows/publish.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
name: Publish Package
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build_deploy:
|
||||||
|
name: Build and Deploy Package
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: "3.x"
|
||||||
|
- run: python3 -m pip install build --user
|
||||||
|
- run: python3 -m pip install twine --user
|
||||||
|
- run: python -m build
|
||||||
|
- run: TWINE_PASSWORD=${{ secrets.PYPI_PAT }} TWINE_USERNAME=bslathi19 python -m twine upload --repository-url ${{ vars.CI_API_URL } dist/*
|
||||||
|
|
||||||
Reference in New Issue
Block a user