Navigation Menu

Skip to content

Concurrency group does not support environmental variables? #26308

Discussion options

You must be logged in to vote

Hi @nicholasbergesen

Thanks to your persistence in trying to identify a workaround for me you inspired me to search the docs to see if there were any other potentials solutions to address this need that actually fit my use-case. And lo-and-behold, there is!

I was able to create a matrix strategy with one option like the following workflow snippet, and it worked!

strategy:
  matrix:
    EXTERNAL_SERVER_IP: [<redacted>]
concurrency:
  group: my-build-${{ matrix.EXTERNAL_SERVER_IP }}-${{ github.ref_name }}

Just thought I would close the loop on this for the benefit of anyone in the future who has the same need and googles for a solution.

Still, adding a constant feature to Gihub Action wo…

Replies: 12 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Product Feedback
3 participants