Add github publish action
This commit is contained in:
commit
0164b2c8e8
1 changed files with 7 additions and 9 deletions
16
.github/workflows/build-deb.yml
vendored
16
.github/workflows/build-deb.yml
vendored
|
@ -10,14 +10,12 @@ 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
|
||||||
|
- name: Release
|
||||||
|
uses: softprops/action-gh-release@v1
|
||||||
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
with:
|
with:
|
||||||
# Optional, relative to workspace directory
|
files: homeassistant-supervised.deb
|
||||||
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
|
|
Loading…
Reference in a new issue