-
-
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 #123 from natekspencer/dev
Update container and build process
- Loading branch information
Showing
6 changed files
with
48 additions
and
7 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 |
---|---|---|
@@ -1,5 +1,8 @@ | ||
#!/usr/bin/env bash | ||
|
||
sudo apt-get -y update | ||
sudo apt-get install -y ffmpeg | ||
|
||
set -e | ||
|
||
cd "$(dirname "$0")/.." | ||
|
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,34 @@ | ||
name: Release | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
permissions: {} | ||
|
||
jobs: | ||
release: | ||
name: Release | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3.5.3 | ||
|
||
- name: Set version number | ||
shell: bash | ||
run: | | ||
yq -i -o json '.version="${{ github.event.release.tag_name }}"' \ | ||
"${{ github.workspace }}/custom_components/vivint/manifest.json" | ||
- name: ZIP integration directory | ||
shell: bash | ||
run: | | ||
cd "${{ github.workspace }}/custom_components/vivint" | ||
zip vivint.zip -r ./ | ||
- name: Upload ZIP file to release | ||
uses: softprops/action-gh-release@v0.1.15 | ||
with: | ||
files: ${{ github.workspace }}/custom_components/vivint/vivint.zip |
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
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 |
---|---|---|
@@ -1,6 +1,8 @@ | ||
colorlog==6.7.0 | ||
homeassistant>=2023.8 | ||
homeassistant>=2023.11 | ||
home-assistant-frontend | ||
pip>=21.0 | ||
pylint>=2.17.3 | ||
python-dateutil | ||
ruff==0.0.255 | ||
vivintpy>=2023.3.5 |