Skip to content

Commit

Permalink
fix: Proper place for startegy
Browse files Browse the repository at this point in the history
  • Loading branch information
gcarreno committed Jan 13, 2024
1 parent ee3439d commit 6bcd3ed
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build.lazarus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ on:

jobs:

strategy:
fail-fast: ${{ fromJSON(inputs.config).fail-fast }}

build-app:
name: build [${{ matrix.os }}] [${{ matrix.lazarus-versions }}]
runs-on: ${{ matrix.os }}
Expand All @@ -50,6 +47,7 @@ jobs:

strategy:
matrix: ${{ fromJSON(inputs.config).matrix }}
fail-fast: ${{ fromJSON(inputs.config).fail-fast }}

outputs:
win-artefact-path: ${{ steps.vars.outputs.win-artefact-path }}
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.lazarus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@ on:

jobs:

strategy:
fail-fast: ${{ fromJSON(inputs.config).fail-fast }}

release-app:
name: release [${{ fromJSON(inputs.config).tag }}]
runs-on: ubuntu-latest

strategy:
fail-fast: ${{ fromJSON(inputs.config).fail-fast }}

steps:
- name: Build env from inputs.config
run: |
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/test.lazarus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ on:

jobs:

strategy:
fail-fast: ${{ fromJSON(inputs.config).fail-fast }}

test-app:
name: test [${{ matrix.os }}] [${{ matrix.lazarus-versions }}]
runs-on: ${{ matrix.os }}
Expand All @@ -35,6 +32,7 @@ jobs:

strategy:
matrix: ${{ fromJSON(inputs.config).matrix }}
fail-fast: ${{ fromJSON(inputs.config).fail-fast }}

steps:
- name: Build env from inputs.config
Expand Down

0 comments on commit 6bcd3ed

Please sign in to comment.