Skip to content

Inform if build information are not available #247

Inform if build information are not available

Inform if build information are not available #247

Workflow file for this run

name: "Test"
on:
pull_request:
jobs:
init:
name: Initialize build
runs-on: ubuntu-latest
outputs:
architectures: ${{ steps.info.outputs.architectures }}
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Get information
id: info
uses: home-assistant/actions/helpers/info@master
build:
name: Test action build
needs: init
runs-on: ubuntu-latest
strategy:
fail-fast: False
matrix:
architecture: ${{ fromJson(needs.init.outputs.architectures) }}
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Build the builder
uses: home-assistant/builder@master
with:
args: |
--test \
--amd64 \
--target /data \
--generic latest
- name: Test ${{ matrix.architecture }} builder
uses: ./
with:
args: |
--test \
--${{ matrix.architecture }} \
--target /data \
--generic ${{ github.sha }}