Skip to content

Using strategy.matrix values in the specification of actions to be used in a workflow #25824

Answered by weide-zhou
pmoura asked this question in Actions
Discussion options

You must be logged in to vote

Hi Pmoura,

Variable in action name is not supported, please use exact action name with format ‘{org}/{repo}[/path]@ref’.

As a workaround, you can add ‘if’ expression as a filter.

Code like below:

- if: matrix.backend == 'eclipse'

uses: logtalk-actions/setup-eclipse@master

  • if: matrix.backend == 'swi-prolog'

uses: logtalk-actions/setup-swi-prolog@master

Hope it helps, thanks.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants