-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:Dummerle/Rare
- Loading branch information
Showing
1 changed file
with
12 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,33 +80,28 @@ jobs: | |
overwrite: true | ||
|
||
deb-package: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.8' | ||
- name: Install Deps | ||
run: sudo apt install python3-stdeb | ||
fakeroot | ||
python-all | ||
dh-python | ||
python3-all | ||
run: sudo apt install | ||
python3-all | ||
python3-stdeb | ||
dh-python | ||
python3-requests | ||
python3-setuptools | ||
python3-wheel | ||
- name: Install Python deps | ||
run: | | ||
pip3 install wheel setuptools | ||
sudo pip3 install wheel setuptools | ||
|
||
- name: run python setup | ||
run: python3 setup.py sdist | ||
- name: create deb package | ||
run: python3 setup.py --command-packages=stdeb.command bdist_deb | ||
run: | | ||
python3 setup.py sdist | ||
python3 setup.py --command-packages=stdeb.command bdist_deb | ||
- name: Upload files to GitHub | ||
uses: svenstaro/[email protected] | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: deb_dist/*.deb | ||
file: deb_dist/python3-rare_${GITHUB_REF##*/}-1_all.deb | ||
asset_name: Rare.deb | ||
tag: ${{ github.ref }} | ||
overwrite: true | ||
|