From 8af72e0be92f297e5305d721f063ca7eeb22162c Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Fri, 17 Nov 2023 10:23:20 +0100 Subject: [PATCH] ci: fix validate workflow Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- .github/workflows/validate.yml | 12 +++--------- README.md | 6 +++--- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 3b57156..f9a9b6a 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -9,26 +9,20 @@ on: branches: - 'master' - 'releases/v*' - paths-ignore: - - '.github/workflows/ci-subaction.yml' - - 'subaction/**' pull_request: - paths-ignore: - - '.github/workflows/ci-subaction.yml' - - 'subaction/**' jobs: prepare: runs-on: ubuntu-latest outputs: - targets: ${{ steps.targets.outputs.matrix }} + targets: ${{ steps.generate.outputs.targets }} steps: - name: Checkout uses: actions/checkout@v4 - - name: Targets matrix - id: targets + name: List targets + id: generate uses: ./subaction/list-targets with: target: validate diff --git a/README.md b/README.md index 7d10e6d..b4a8218 100644 --- a/README.md +++ b/README.md @@ -81,14 +81,14 @@ jobs: prepare: runs-on: ubuntu-latest outputs: - targets: ${{ steps.matrix.outputs.targets }} + targets: ${{ steps.generate.outputs.targets }} steps: - name: Checkout uses: actions/checkout@v4 - - name: Matrix - id: matrix + name: List targets + id: generate uses: docker/bake-action/subaction/list-targets@v4 with: target: validate