Skip to content

Commit

Permalink
fix(?): Using object instead of array
Browse files Browse the repository at this point in the history
  • Loading branch information
gcarreno committed Sep 1, 2023
1 parent fcb5ad4 commit 48d527c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.lazarus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ jobs:
}}
_EXE_TRIPLET_: ${{
matrix.os == 'windows-latest' &&
format('{0}-{1}.exe', inputs.app-name, fromJSON(inputs.config).triplets['ubuntu-latest']) ||
format('{0}-{1}', inputs.app-name, fromJSON(inputs.config).triplets['ubuntu-latest'])
format('{0}-{1}.exe', inputs.app-name, fromJSON(inputs.config).triplets.(matrix.os)) ||
format('{0}-{1}', inputs.app-name, fromJSON(inputs.config).triplets.(matrix.os))
}}

strategy:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/main.lazarus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

build:
name: Build Application
uses: ./.github/workflows/build.lazarus.yml
uses: gcarreno/re-usable-workflows/.github/workflows/build.lazarus.yml@main
with:
app-name: helloworld
lpi-path: src
Expand All @@ -31,17 +31,17 @@ jobs:
"lpi-path": "src",
"os": ["ubuntu-latest"],
"lazarus-versions": ["stable"],
"triplets": [
"triplets": {
"ubuntu-latest": "x86_64-lin"
]
}
}'

strategy:
fail-fast: true

test:
name: Test Application
uses: ./.github/workflows/test.lazarus.yml
uses: gcarreno/re-usable-workflows/.github/workflows/test.lazarus.yml@main
with:
app-name: helloworldtest
lpi-path: tests
Expand Down

0 comments on commit 48d527c

Please sign in to comment.