-
Notifications
You must be signed in to change notification settings - Fork 13
36 lines (30 loc) · 1.07 KB
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Release
on:
release:
types: [created]
jobs:
bundle:
runs-on: ubuntu-latest
name: Bundle
steps:
- uses: actions/checkout@v4
- name: Build GDOv1-S bundle
run: |
ls -la
mkdir GarageDoorOpenerGDOv1S
cp bundles/gdov1-s.txt GarageDoorOpenerGDOv1S/install.txt
cp bundles/gdov1-s.txt GarageDoorOpenerGDOv1S/update.txt
cp drivers/konnected-gdov1-s.groovy GarageDoorOpenerGDOv1S/konnected.KonnectedGarageDoorGDOv1S.groovy
wget -O GarageDoorOpenerGDOv1S/esphome.espHomeApiHelper.groovy https://raw.githubusercontent.com/konnected-io/hubitat-public/main/ESPHome/ESPHome-API-Library.groovy
- name: Zip bundles
uses: thedoctor0/[email protected]
with:
type: 'zip'
path: GarageDoorOpenerGDOv1S
filename: GarageDoorOpenerGDOv1S.zip
- name: Upload to Release
uses: Shopify/[email protected]
with:
name: GarageDoorOpenerGDOv1S.zip
path: ./
repo-token: ${{ secrets.GITHUB_TOKEN }}