1
0
Fork 0
mirror of synced 2024-06-26 10:11:19 +12:00

Merge branch 'main' of github.com:Dummerle/Rare

This commit is contained in:
Dummerle 2021-03-27 18:33:39 +01:00
commit 908de2902f

View file

@ -80,33 +80,28 @@ jobs:
overwrite: true overwrite: true
deb-package: deb-package:
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 python3-all
python-all python3-stdeb
dh-python dh-python
python3-all 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:
repo_token: ${{ secrets.GITHUB_TOKEN }} repo_token: ${{ secrets.GITHUB_TOKEN }}
file: deb_dist/*.deb file: deb_dist/python3-rare_${GITHUB_REF##*/}-1_all.deb
asset_name: Rare.deb asset_name: Rare.deb
tag: ${{ github.ref }} tag: ${{ github.ref }}
overwrite: true overwrite: true