Проверка twine
Build Python Package / build (push) Failing after 8s Details

This commit is contained in:
trueold89 2024-06-09 02:10:37 +03:00
parent 0b6dec4674
commit 0e23ba3812
Signed by: trueold89
GPG Key ID: C122E85DD49E6B30
1 changed files with 8 additions and 7 deletions

View File

@ -15,21 +15,22 @@ jobs:
- name: Create and activate virtual environment
run: |
python -m venv venv
. venv/bin/activate
source venv/bin/activate
- name: Install dependencies
run: |
source venv/bin/activate
pip install --upgrade pip
pip install setuptools discord.py
pip install setuptools discord.py twine
- name: Build the package
run: |
source venv/bin/activate
python setup.py sdist
- name: Archive the package
uses: actions/upload-artifact@v3
with:
name: dist
path: dist/*.tar.gz
- name: Upload package
run: |
source venv/bin/activate
twine upload --repository-url https://git.orudo.ru/api/v1/packages/upload -u trueold89 -p $TOKEN dist/*
env:
TOKEN: ${{ secrets.TOKEN }}