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