We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 25f5d22 + bac1664 commit 6f5c265Copy full SHA for 6f5c265
1 file changed
.github/workflows/copilot-setup-steps.yml
@@ -6,7 +6,8 @@ on: workflow_dispatch
6
jobs:
7
# The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot.
8
copilot-setup-steps:
9
- runs-on: ubuntu-latest
+ # run on AMD when the run_id is even, Intel when the run_id is odd
10
+ runs-on: ${{ (github.run_id % 2 == 0) && fromJSON('["self-hosted", "Linux", "X64", "1ES.Pool=hld-kvm-amd"]') || fromJSON('["self-hosted", "Linux", "X64", "1ES.Pool=hld-kvm-intel"]') }}
11
12
# Set the permissions to the lowest permissions possible needed for your steps.
13
# Copilot will be given its own token for its operations.
0 commit comments