GuillaumeFalourd / poc-github-actions

Various proofs of concept examples using Github Actions 🤖
Apache License 2.0
291 stars 98 forks source link

Cannot use variable for versioning the workflow #51

Closed dr-uv-wildner closed 1 year ago

dr-uv-wildner commented 1 year ago

I recently had this issue when implementing the test bed for our jenkins pipeline code. Now trying to call a workflow in the same branch using github actions i run into the same issue.

do the workflow framework developers do not understand that we might have a lot of different versions and the need to use a variable to reference them? or for alocal one at least the version in my current branch?

sorry if thats not your piece of cake and I am at the wrong address. if you know who are those people who do skip the variables for the versions please share with me :)

github-actions[bot] commented 1 year ago

Follow the run through: https://github.com/GuillaumeFalourd/poc-github-actions/actions/runs/5328830757

github-actions[bot] commented 1 year ago

Close automatically through https://github.com/GuillaumeFalourd/poc-github-actions/actions/runs/5328830757

GuillaumeFalourd commented 1 year ago

Hi @dr-uv-wildner, could you share your workflow to understand how you tried to version it?

For what I understand from your message, you're trying to use / interpolate an input as workflow reference when calling it from another workflow, right?

If so, it's unfortunately not possible to do it currently (there are some thread about this subject on StackOverflow: Reference 1 + Reference 2)