Update release.yml
This commit is contained in:
parent
da5c43b3a7
commit
54d0138d70
1 changed files with 11 additions and 16 deletions
23
.github/workflows/release.yml
vendored
23
.github/workflows/release.yml
vendored
|
@ -83,25 +83,20 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-python@v2
|
|
||||||
with:
|
|
||||||
python-version: '3.8'
|
|
||||||
- name: Install Deps
|
- name: Install Deps
|
||||||
run: sudo apt install python3-stdeb
|
run: sudo apt install
|
||||||
fakeroot
|
|
||||||
python-all
|
|
||||||
dh-python
|
|
||||||
python3-all
|
python3-all
|
||||||
|
python3-stdeb
|
||||||
|
dh-python
|
||||||
|
python3-requests
|
||||||
python3-setuptools
|
python3-setuptools
|
||||||
python3-wheel
|
python3-wheel
|
||||||
- name: Install Python deps
|
|
||||||
run: |
|
|
||||||
pip3 install wheel setuptools
|
|
||||||
sudo pip3 install wheel setuptools
|
|
||||||
- name: run python setup
|
- name: run python setup
|
||||||
run: python3 setup.py sdist
|
run: |
|
||||||
- name: create deb package
|
python3 setup.py sdist
|
||||||
run: python3 setup.py --command-packages=stdeb.command bdist_deb
|
python3 setup.py --command-packages=stdeb.command bdist_deb
|
||||||
|
|
||||||
- name: Upload files to GitHub
|
- name: Upload files to GitHub
|
||||||
uses: svenstaro/upload-release-action@2.2.1
|
uses: svenstaro/upload-release-action@2.2.1
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue