Skip to content

Commit

Permalink
Merge pull request #176 from crazy-max/fix-validate
Browse files Browse the repository at this point in the history
ci: fix validate workflow
  • Loading branch information
crazy-max committed Nov 17, 2023
2 parents 0aeb216 + 76293d2 commit 8497071
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 21 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 8 additions & 8 deletions dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

0 comments on commit 8497071

Please sign in to comment.