Skip to content

Commit 5e66080

Browse files
authored
Update apt commands to allow insecure repositories
1 parent ad856ab commit 5e66080

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/illumos-x64-runtime-build.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ jobs:
2727
run: |
2828
git clone https://github.com/${{ github.event.inputs.runtimeForkName }}/${{ github.event.inputs.runtimeRepohName }} runtime --branch ${{ github.event.inputs.runtimeBranchName }} --single-branch --depth 1
2929
docker run --rm -v$(pwd)/runtime:/runtime -e ROOTFS_DIR=/crossrootfs/x64 \
30-
mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-cross-illumos sh -c 'apt update && apt install -y ninja-build;
30+
mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-cross-illumos sh -c 'apt update --allow-insecure-repositories
31+
&& apt install -y ninja-build --allow-unauthenticated;
3132
/runtime/build.sh clr+libs+packs -c Debug -os illumos -cross -gcc --bootstrap'
3233
3334
coreclr_Release:
@@ -40,7 +41,8 @@ jobs:
4041
run: |
4142
git clone https://github.com/${{ github.event.inputs.runtimeForkName }}/${{ github.event.inputs.runtimeRepohName }} runtime --branch ${{ github.event.inputs.runtimeBranchName }} --single-branch --depth 1
4243
docker run --rm -v$(pwd)/runtime:/runtime -e ROOTFS_DIR=/crossrootfs/x64 \
43-
mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-cross-illumos sh -c 'apt update && apt install -y ninja-build;
44+
mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-cross-illumos sh -c 'apt update --allow-insecure-repositories
45+
&& apt install -y ninja-build --allow-unauthenticated;
4446
/runtime/build.sh clr+libs+packs -c Release -os illumos -cross -gcc --bootstrap'
4547
4648
mono_Debug:
@@ -53,7 +55,8 @@ jobs:
5355
run: |
5456
git clone https://github.com/${{ github.event.inputs.runtimeForkName }}/${{ github.event.inputs.runtimeRepohName }} runtime --branch ${{ github.event.inputs.runtimeBranchName }} --single-branch --depth 1
5557
docker run --rm -v$(pwd)/runtime:/runtime -e ROOTFS_DIR=/crossrootfs/x64 \
56-
mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-cross-illumos sh -c 'apt update && apt install -y ninja-build;
58+
mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-cross-illumos sh -c 'apt update --allow-insecure-repositories
59+
&& apt install -y ninja-build --allow-unauthenticated;
5760
/runtime/build.sh mono+libs+packs -c Debug -os illumos -cross -gcc'
5861
5962
mono_Release:
@@ -66,5 +69,6 @@ jobs:
6669
run: |
6770
git clone https://github.com/${{ github.event.inputs.runtimeForkName }}/${{ github.event.inputs.runtimeRepohName }} runtime --branch ${{ github.event.inputs.runtimeBranchName }} --single-branch --depth 1
6871
docker run --rm -v$(pwd)/runtime:/runtime -e ROOTFS_DIR=/crossrootfs/x64 \
69-
mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-cross-illumos sh -c 'apt update && apt install -y ninja-build;
72+
mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-cross-illumos sh -c 'apt update --allow-insecure-repositories
73+
&& apt install -y ninja-build --allow-unauthenticated;
7074
/runtime/build.sh mono+libs+packs -c Release -os illumos -cross -gcc'

0 commit comments

Comments
 (0)