mirror of
https://github.com/derrod/legendary.git
synced 2024-06-02 18:54:53 +12:00
Use fpm instead of stdeb
This commit is contained in:
parent
6a288fc8ef
commit
54a84ed6f9
28
.github/workflows/python.yml
vendored
28
.github/workflows/python.yml
vendored
|
@ -60,23 +60,19 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Dependencies
|
- name: Dependencies
|
||||||
run: sudo apt install
|
run: |
|
||||||
python3-all
|
sudo apt install ruby
|
||||||
python3-stdeb
|
sudo gem install fpm
|
||||||
dh-python
|
|
||||||
python3-requests
|
|
||||||
python3-setuptools
|
|
||||||
python3-wheel
|
|
||||||
|
|
||||||
- name: Webview Dependencies
|
|
||||||
run: sudo apt install
|
|
||||||
python3-webview
|
|
||||||
python3-gi
|
|
||||||
python3-gi-cairo
|
|
||||||
gir1.2-gtk-3.0
|
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: python3 setup.py --command-packages=stdeb.command bdist_deb
|
run: fpm
|
||||||
|
--input-type python
|
||||||
|
--output-type deb
|
||||||
|
--python-package-name-prefix python3
|
||||||
|
--deb-suggests python3-webview
|
||||||
|
--maintainer "Rodney <rodney@rodney.io>"
|
||||||
|
--category python
|
||||||
|
setup.py
|
||||||
|
|
||||||
- name: Os version
|
- name: Os version
|
||||||
id: os_version
|
id: os_version
|
||||||
|
@ -87,4 +83,4 @@ jobs:
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ${{ steps.os_version.outputs.version }}-deb-package
|
name: ${{ steps.os_version.outputs.version }}-deb-package
|
||||||
path: deb_dist/*.deb
|
path: ./*.deb
|
||||||
|
|
Loading…
Reference in a new issue