-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
workflow to package and publish GDOv2-Q driver
- Loading branch information
1 parent
f4c1f39
commit 6fa1cb3
Showing
1 changed file
with
23 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,6 @@ jobs: | |
|
||
- 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 | ||
|
@@ -22,12 +21,19 @@ jobs: | |
- name: Build GDOv2-S bundle | ||
run: | | ||
ls -la | ||
mkdir GarageDoorOpenerGDOv2S | ||
cp bundles/gdov2-s.txt GarageDoorOpenerGDOv2S/install.txt | ||
cp bundles/gdov2-s.txt GarageDoorOpenerGDOv2S/update.txt | ||
cp drivers/konnected-gdov2-s.groovy GarageDoorOpenerGDOv2S/konnected.KonnectedGarageDoorGDOv2S.groovy | ||
wget -O GarageDoorOpenerGDOv2S/esphome.espHomeApiHelper.groovy https://raw.githubusercontent.com/bradsjm/hubitat-public/main/ESPHome/ESPHome-API-Library.groovy | ||
- name: Build GDOv2-Q bundle | ||
run: | | ||
mkdir GarageDoorOpenerGDOv2Q | ||
cp bundles/gdov2-q.txt GarageDoorOpenerGDOv2Q/install.txt | ||
cp bundles/gdov2-q.txt GarageDoorOpenerGDOv2Q/update.txt | ||
cp drivers/konnected-gdov2-s.groovy GarageDoorOpenerGDOv2Q/konnected.KonnectedGarageDoorGDOv2Q.groovy | ||
wget -O GarageDoorOpenerGDOv2Q/esphome.espHomeApiHelper.groovy https://raw.githubusercontent.com/bradsjm/hubitat-public/main/ESPHome/ESPHome-API-Library.groovy | ||
- name: Zip GDOv1-S | ||
uses: thedoctor0/[email protected] | ||
|
@@ -42,6 +48,13 @@ jobs: | |
type: 'zip' | ||
directory: GarageDoorOpenerGDOv2S | ||
filename: GarageDoorOpenerGDOv2S.zip | ||
|
||
- name: Zip GDOv2-Q | ||
uses: thedoctor0/[email protected] | ||
with: | ||
type: 'zip' | ||
directory: GarageDoorOpenerGDOv2Q | ||
filename: GarageDoorOpenerGDOv2Q.zip | ||
|
||
- name: Upload GDOv1-S | ||
uses: Shopify/[email protected] | ||
|
@@ -56,4 +69,11 @@ jobs: | |
name: GarageDoorOpenerGDOv2S.zip | ||
path: GarageDoorOpenerGDOv2S/GarageDoorOpenerGDOv2S.zip | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
|
||
- name: Upload GDOv2-Q | ||
uses: Shopify/[email protected] | ||
with: | ||
name: GarageDoorOpenerGDOv2Q.zip | ||
path: GarageDoorOpenerGDOv2Q/GarageDoorOpenerGDOv2Q.zip | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|