fix: ci
This commit is contained in:
parent
6503465715
commit
e9dc8feb54
1 changed files with 3 additions and 6 deletions
|
@ -16,8 +16,7 @@ jobs:
|
||||||
apt update; apt install -y python3-pip
|
apt update; apt install -y python3-pip
|
||||||
pip3 install --break-system-packages -e .[test]
|
pip3 install --break-system-packages -e .[test]
|
||||||
python3 setup.py egg_info bdist_wheel
|
python3 setup.py egg_info bdist_wheel
|
||||||
- name: Upload Python wheel
|
- uses: https://git.kabelsalat.ch/s3lph/forgejo-action-wheel-package-upload@v1
|
||||||
uses: https://git.kabelsalat.ch/s3lph/forgejo-action-wheel-package-upload@v1
|
|
||||||
|
|
||||||
build_debian:
|
build_debian:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
@ -27,14 +26,12 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
mkdir -p package/debian/prometheus-tlsrpt-exporter/usr/share/prometheus-tlsrpt-exporter
|
mkdir -p package/debian/prometheus-tlsrpt-exporter/usr/share/prometheus-tlsrpt-exporter
|
||||||
cp -r templates/ package/debian/prometheus-tlsrpt-exporter/usr/share/prometheus-tlsrpt-exporter/templates/
|
cp -r templates/ package/debian/prometheus-tlsrpt-exporter/usr/share/prometheus-tlsrpt-exporter/templates/
|
||||||
- name: Build Debian package
|
- uses: https://git.kabelsalat.ch/s3lph/forgejo-action-python-debian-package@v1
|
||||||
uses: https://git.kabelsalat.ch/s3lph/forgejo-action-python-debian-package@v1
|
|
||||||
with:
|
with:
|
||||||
python_module: tlsrpt_exporter
|
python_module: tlsrpt_exporter
|
||||||
package_name: prometheus-tlsrpt-exporter
|
package_name: prometheus-tlsrpt-exporter
|
||||||
package_root: package/debian/prometheus-tlsrpt-exporter
|
package_root: package/debian/prometheus-tlsrpt-exporter
|
||||||
package_output_path: package/debian
|
package_output_path: package/debian
|
||||||
- name: Upload Debian package
|
- uses: https://git.kabelsalat.ch/s3lph/forgejo-action-python-debian-package@v1
|
||||||
uses: https://git.kabelsalat.ch/s3lph/forgejo-action-python-debian-package@v1
|
|
||||||
with:
|
with:
|
||||||
deb: "package/debian/*.deb"
|
deb: "package/debian/*.deb"
|
||||||
|
|
Loading…
Reference in a new issue