Проверка 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 - name: Create and activate virtual environment
run: | run: |
python -m venv venv python -m venv venv
. venv/bin/activate source venv/bin/activate
- name: Install dependencies - name: Install dependencies
run: | run: |
source venv/bin/activate source venv/bin/activate
pip install --upgrade pip pip install --upgrade pip
pip install setuptools discord.py pip install setuptools discord.py twine
- name: Build the package - name: Build the package
run: | run: |
source venv/bin/activate source venv/bin/activate
python setup.py sdist python setup.py sdist
- name: Archive the package - name: Upload package
uses: actions/upload-artifact@v3 run: |
with: source venv/bin/activate
name: dist twine upload --repository-url https://git.orudo.ru/api/v1/packages/upload -u trueold89 -p $TOKEN dist/*
path: dist/*.tar.gz env:
TOKEN: ${{ secrets.TOKEN }}