Description:
The target architecture parameter has default value: x64. It would be nice to derive it from underlying runner machine architecture e.g. if the runners run on ARM64 then default value would be aarch64.
Justification:
The aim is to keep the github runner pipelines agnostic to the underlying architecture of the machine where it runs e.g. we are migrating from X64 to ARM64 machines and it would be great to keep generic pipeline with a following step
- uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '17'
cache: 'gradle'
instead of specifying architecture parameter. Such a change would be backward compatible, because the default value x64 would stay if underlying machine is X64.
Alternative solution would be to accept RUNNER_ARCH environment variable as default, but even now supplying it without additional mapping is not possible, because possible values (X86, X64, ARM, or ARM64) are not compatible with architecture parameter.
Are you willing to submit a PR?
I am not familiar with Typescript, but I can try :)
Description:
The target architecture parameter has default value:
x64. It would be nice to derive it from underlying runner machine architecture e.g. if the runners run onARM64then default value would beaarch64.Justification:
The aim is to keep the github runner pipelines agnostic to the underlying architecture of the machine where it runs e.g. we are migrating from
X64toARM64machines and it would be great to keep generic pipeline with a following stepinstead of specifying
architectureparameter. Such a change would be backward compatible, because the default valuex64would stay if underlying machine isX64.Alternative solution would be to accept
RUNNER_ARCHenvironment variable as default, but even now supplying it without additional mapping is not possible, because possible values (X86,X64,ARM, orARM64) are not compatible witharchitectureparameter.Are you willing to submit a PR?
I am not familiar with Typescript, but I can try :)