Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(github): fix conditionals in matrix of asset-exchange-besu-local
The file affected is this one: `.github/workflows/test_weaver-asset-exchange-besu.yaml` The if conditions have to be implemented in a different syntax for jobs that use the `matrix` feature of GitHub Action workflows so a slight refactor has been done to make the code do what we originally wanted it to. The fix was heavily inspired by this excellent answer on StackOverflow: https://stackoverflow.com/a/73822998 ```yaml strategy: matrix: fruits: - apple - banana exclude: - fruits: ${{ github.ref == 'refs/heads/main' && 'dummy' || 'apple' }} ``` Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
- Loading branch information