Attempting to fix the publish action.
Some checks failed
StarFields Django Rest Framework Generics / build (push) Failing after 6s
Lint / Lint (push) Failing after 22s

This commit is contained in:
2024-05-13 13:39:56 +03:00
parent a86f25b230
commit 0fccdf60bd

View File

@@ -16,7 +16,7 @@ jobs:
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
# Semantic version range syntax or exact version of a Python version # Semantic version range syntax or exact version of a Python version
python-version: '3.12' python-version: '3.12.3'
# Optional - x64 or x86 architecture, defaults to x64 # Optional - x64 or x86 architecture, defaults to x64
architecture: 'x64' architecture: 'x64'
@@ -32,7 +32,7 @@ jobs:
- name: Publish package to Gitea PyPI - name: Publish package to Gitea PyPI
uses: pypa/gh-action-pypi-publish@release/v1 uses: pypa/gh-action-pypi-publish@release/v1
with: with:
packages-dir: dist/ user: ${{ secrets.GIT_PYPI_USERNAME }}
user: ${{ secrets.GITEA_PYPI_USERNAME }} password: ${{ secrets.GIT_PYPI_PASSWORD }}
password: ${{ secrets.GITEA_PYPI_PASSWORD }}
repository-url: https://git.vickys-corner.xyz/api/packages/StarFields/pypi repository-url: https://git.vickys-corner.xyz/api/packages/StarFields/pypi
print-hash: true