forked from MIrrors/gasket-driver
All checks were successful
Build and Publish / build-wheel (push) Successful in 55s
Signed-off-by: Kellen Renshaw <kellen@bluequartz.xyz>
26 lines
742 B
YAML
26 lines
742 B
YAML
name: Build and Publish
|
|
run-name: ${{ gitea.actor }} initiated build.
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
|
|
jobs:
|
|
build-wheel:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: https://git.bluequartz.xyz/actions/checkout@v4
|
|
|
|
- name: Enable package installs
|
|
run: apt update && apt -y install devscripts
|
|
|
|
- name: Install build-deps
|
|
run: apt-get -y build-dep .
|
|
|
|
- name: Build Package
|
|
run: debuild -us -uc -tc -b
|
|
|
|
- name: Publish Package to Deb repo
|
|
run: curl --user ${{ gitea.actor }}:${{ secrets.DOCKER_PASSWORD }} --upload-file ../gasket-dkms_1.0-18_all.deb https://git.bluequartz.xyz/api/packages/${{ gitea.actor }}/debian/pool/unstable/main/upload
|