Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add architecture to runner context #1185

Closed
jeremyd2019 opened this issue Jul 4, 2021 · 2 comments · Fixed by #1372
Closed

add architecture to runner context #1185

jeremyd2019 opened this issue Jul 4, 2021 · 2 comments · Fixed by #1372
Assignees
Labels
enhancement New feature or request Runner Feature Feature scope to the runner

Comments

@jeremyd2019
Copy link
Contributor

There is support for ${{ runner.os }} but it would also be helpful to be able to query ${{ runner.architecture }} (or maybe ${{ runner.arch }} for less typing). I think that's relevant to this repo, as I see

jobContext.SetRunnerContext("os", VarUtil.OS);
appears to set ${{ runner.os }}.

@TingluoHuang
Copy link
Member

@fhammerl you want to take this?

@Awan27091987
Copy link

There is support for ${{ runner.os }} but it would also be helpful to be able to query ${{ runner.architecture }} (or maybe ${{ runner.arch }} for less typing). I think that's relevant to this repo, as I see

jobContext.SetRunnerContext("os", VarUtil.OS);

appears to set ${{ runner.os }}.

I m owner
Help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Runner Feature Feature scope to the runner
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants