Fixing the publish workflow.
Some checks failed
StarFields Django Rest Framework Generics / build (push) Failing after 8s
Some checks failed
StarFields Django Rest Framework Generics / build (push) Failing after 8s
This commit is contained in:
@@ -4,6 +4,8 @@ on: [push]
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
GITHUB_WORKFLOW_REF:
|
GITHUB_WORKFLOW_REF:
|
||||||
|
TWINE_USERNAME: ${{ secrets.GIT_PYPI_USERNAME }}
|
||||||
|
TWINE_PASSWORD: ${{ secrets.GIT_PYPI_PASSWORD }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -34,13 +36,16 @@ jobs:
|
|||||||
run: pip install build && python -m build
|
run: pip install build && python -m build
|
||||||
|
|
||||||
- name: Publish package to Gitea PyPI
|
- name: Publish package to Gitea PyPI
|
||||||
continue-on-error: false
|
run: python3 -m twine upload --repository-url https://git.starfieldsweb.com/api/packages/StarFields/pypi ./*
|
||||||
uses: pypa/gh-action-pypi-publish@release/v1
|
|
||||||
with:
|
# - name: Publish package to Gitea PyPI
|
||||||
user: ${{ secrets.GIT_PYPI_USERNAME }}
|
# continue-on-error: false
|
||||||
password: ${{ secrets.GIT_PYPI_PASSWORD }}
|
# uses: pypa/gh-action-pypi-publish@release/v1
|
||||||
repository-url: https://git.starfieldsweb.com/api/packages/StarFields/pypi
|
# with:
|
||||||
print-hash: true
|
# user: ${{ secrets.GIT_PYPI_USERNAME }}
|
||||||
verbose: true
|
# password: ${{ secrets.GIT_PYPI_PASSWORD }}
|
||||||
|
# repository-url: https://git.starfieldsweb.com/api/packages/StarFields/pypi
|
||||||
|
# print-hash: true
|
||||||
|
# verbose: true
|
||||||
|
|
||||||
# TODO make a release section that creates a gitea release
|
# TODO make a release section that creates a gitea release
|
||||||
|
|||||||
Reference in New Issue
Block a user