mirror of
https://github.com/lildude/ha-addon-teslamate.git
synced 2026-10-13 13:10:30 -04:00
* Remove unused files * Update dev env * Update config * Update docker config * Add translations * Update run script * Auto-gen enc key if not set * Replace workflows * Replace dependabot with renovate * Remove armhf * Lint * Remove armhf * Whoops * Remove stray comma * Add image * Reorder options * Split and improve docs * Add back image line * Update cw * Typo * Use correct org * Move bootstrap to run * Update scripts * Update config * Add note about database * Label in dockerfile * tmp force devcontainer version * Start implementing db creation if not exists * Create DB if doesn't exist * Update words * Remove unused file
45 lines
779 B
YAML
45 lines
779 B
YAML
name: Test
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- build.yaml
|
|
- config.yaml
|
|
- build.json
|
|
- config.json
|
|
- Dockerfile
|
|
- rootfs/**
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- build.yaml
|
|
- config.yaml
|
|
- build.json
|
|
- config.json
|
|
- Dockerfile
|
|
- rootfs/**
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
name: Build add-on
|
|
strategy:
|
|
matrix:
|
|
arch: ["amd64", "armv7", "aarch64"]
|
|
|
|
steps:
|
|
- name: Check out repository
|
|
uses: actions/checkout@v4.1.4
|
|
|
|
- name: Build add-on
|
|
uses: home-assistant/builder@master
|
|
with:
|
|
args: |
|
|
--test \
|
|
--${{ matrix.arch }} \
|
|
--target /data/ \
|
|
--addon
|