Проверка twine
Build Python Package / build (push) Failing after 8s
Details
Build Python Package / build (push) Failing after 8s
Details
This commit is contained in:
parent
0b6dec4674
commit
0e23ba3812
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue