Проверка 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
|
- 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 }}
|
||||||
|
|
Loading…
Reference in New Issue