-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from NorthernMan54/latest
Build Process Redo - to leverage dependabot for version tracking
- Loading branch information
Showing
16 changed files
with
1,818 additions
and
1,871 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
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: "Stage 4 - Post Release Validation" | ||
|
||
on: | ||
workflow_dispatch: | ||
workflow_run: | ||
workflows: [Stage 3 - Promote Release Package to APT Stores] | ||
types: | ||
- completed | ||
|
||
jobs: | ||
|
||
on-success: | ||
name: On Success or Manual Dispatch | ||
runs-on: ubuntu-latest | ||
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }} | ||
steps: | ||
- run: echo '::info::The triggering workflow passed or manual dispatch was used.' | ||
|
||
validate: | ||
name: Validate Release | ||
runs-on: ubuntu-latest | ||
needs: on-success | ||
steps: | ||
- name: Install Homebridge | ||
run: | | ||
curl -sSfL https://repo.homebridge.io/KEY.gpg | sudo gpg --dearmor -o /usr/share/keyrings/homebridge.gpg | ||
echo "deb [signed-by=/usr/share/keyrings/homebridge.gpg] https://repo.homebridge.io stable main" | sudo tee /etc/apt/sources.list.d/homebridge.list > /dev/null | ||
sudo apt-get update | ||
sudo apt-get install -y homebridge | ||
- name: Display APT Pkg Version | ||
run: dpkg -l homebridge | ||
|
||
- name: Validate Homebridge | ||
run: | | ||
sudo hb-service status | ||
sudo hb-service view |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.