Skip to content

Commit 2af6ed2

Browse files
committed
More x64 vs amd64 nonsense.
1 parent 403cc24 commit 2af6ed2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ on:
1313
required: true
1414
type: choice
1515
options:
16-
- amd64
1716
- arm
1817
- arm64
1918
- loongarch64
2019
- ppc64le
2120
- riscv64
2221
- s390x
22+
- x64
2323
runtime:
2424
description: Runtime flavor
2525
required: true
@@ -61,12 +61,12 @@ jobs:
6161
--volume ${{ github.workspace }}/dotnet:/dotnet \
6262
--workdir /dotnet \
6363
--env ROOTFS_DIR=/crossrootfs/${{ inputs.arch }} \
64-
mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-3.0-${{ inputs.tfm }}-cross-${{ inputs.arch }} \
64+
mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-3.0-${{ inputs.tfm }}-cross-${{ inputs.arch == 'x64' && 'amd64' || inputs.arch }} \
6565
./build.sh \
6666
--clean-while-building \
6767
--prep \
6868
--source-only \
69-
--arch ${{ inputs.arch == 'amd64' && 'x64' || inputs.arch }} \
69+
--arch ${{ inputs.arch }} \
7070
--os linux \
7171
${{ inputs.runtime == 'mono' && '--use-mono-runtime' || '' }} \
7272
-property:OfficialBuildId=$(date +%Y%m%d).99

0 commit comments

Comments
 (0)