From 7bb3c720440203db9cef0c49b8442ff591a1c4a6 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 7 Mar 2022 16:00:53 +0100 Subject: [PATCH] Allo architectures check --- .github/workflows/builder.yaml | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/.github/workflows/builder.yaml b/.github/workflows/builder.yaml index 3b4ce81b1..2350d8eab 100644 --- a/.github/workflows/builder.yaml +++ b/.github/workflows/builder.yaml @@ -14,18 +14,26 @@ on: jobs: check-addon-changes: + name: Initialize build runs-on: ubuntu-latest outputs: + architectures: ${{ steps.info.outputs.architectures }} changedAddons: ${{ steps.filter.outputs.changes }} steps: - - name: â†Šī¸ Checkout - uses: actions/checkout@v2.4.0 + - name: Checkout the repository + uses: actions/checkout@v2.4.0 + with: + fetch-depth: 0 - - name: 📂 Detect chanced files - uses: dorny/paths-filter@v2 - id: filter - with: - filters: .github/paths-filter.yml + - name: Get information + id: info + uses: home-assistant/actions/helpers/info@master + + - name: 📂 Detect chanced files + uses: dorny/paths-filter@v2 + id: filter + with: + filters: .github/paths-filter.yml build: if: ${{ needs.check-addon-changes.outputs.changedAddons != '[]' }}