Test action

This commit is contained in:
Matheson Steplock 2021-10-03 01:39:31 +00:00 committed by GitHub
parent 860928fcf5
commit 10f4c5d568

View file

@ -3,6 +3,7 @@ name: Build Deb Package
# yamllint disable-line rule:truthy # yamllint disable-line rule:truthy
on: on:
push:
workflow_dispatch: workflow_dispatch:
release: release:
types: ["published"] types: ["published"]
@ -10,14 +11,7 @@ jobs:
build-deb-package: build-deb-package:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout repository - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Build Debian package - run: chmod 755 homeassistant-supervised/DEBIAN/p*
uses: dawidd6/action-debian-package@v1 - run: dpkg-deb --build --root-owner-group homeassistant-supervised
with:
# Optional, relative to workspace directory
source_directory: homeassistant-supervised
# # Optional, value from `debian/changelog` is used if not defined
# os_distribution: bullseye
# # Optional, target architecture, defaults to amd64
# cpu_architecture: all