Skip to content

Commit a2dd052

Browse files
committed
修改发布降低 GLibC 版本
1 parent 1ad27a3 commit a2dd052

1 file changed

Lines changed: 48 additions & 0 deletions

File tree

.github/workflows/NuGet-tag-publish-MediaConverters.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,32 @@ jobs:
7272
PackOnLinuxX64:
7373

7474
runs-on: ubuntu-latest
75+
container:
76+
image: debian:buster-slim
7577

7678
steps:
79+
# 由于 Debian 10 (buster) 停止维护了,需要换成 archive.debian.org 源头
80+
- name: UpdateSource
81+
run: |
82+
rm /etc/apt/sources.list
83+
echo 'deb http://archive.debian.org/debian buster main contrib non-free' >> /etc/apt/sources.list
84+
echo 'deb http://archive.debian.org/debian buster-updates main contrib non-free' >> /etc/apt/sources.list
85+
echo 'deb http://archive.debian.org/debian-security buster/updates main contrib non-free' >> /etc/apt/sources.list
86+
- name: InstallTool
87+
run: |
88+
dpkg --add-architecture arm64
89+
apt-get clean
90+
apt-get update
91+
apt-get install libicu-dev -y
92+
apt-get install libssl-dev -y
93+
apt-get install wget -y
94+
apt-get install curl -y
95+
apt-get install clang llvm -y
96+
apt-get install gcc-aarch64-linux-gnu -y
97+
apt-get install binutils-aarch64-linux-gnu -y
98+
apt-get install zlib1g-dev -y
99+
apt-get install zlib1g-dev:arm64 -y
100+
77101
- uses: actions/checkout@v4
78102

79103
- name: Install dotnet tool
@@ -107,8 +131,32 @@ jobs:
107131
PackOnLinuxArm64:
108132

109133
runs-on: ubuntu-24.04-arm
134+
container:
135+
image: debian:buster-slim
110136

111137
steps:
138+
# 由于 Debian 10 (buster) 停止维护了,需要换成 archive.debian.org 源头
139+
- name: UpdateSource
140+
run: |
141+
rm /etc/apt/sources.list
142+
echo 'deb http://archive.debian.org/debian buster main contrib non-free' >> /etc/apt/sources.list
143+
echo 'deb http://archive.debian.org/debian buster-updates main contrib non-free' >> /etc/apt/sources.list
144+
echo 'deb http://archive.debian.org/debian-security buster/updates main contrib non-free' >> /etc/apt/sources.list
145+
- name: InstallTool
146+
run: |
147+
dpkg --add-architecture arm64
148+
apt-get clean
149+
apt-get update
150+
apt-get install libicu-dev -y
151+
apt-get install libssl-dev -y
152+
apt-get install wget -y
153+
apt-get install curl -y
154+
apt-get install clang llvm -y
155+
apt-get install gcc-aarch64-linux-gnu -y
156+
apt-get install binutils-aarch64-linux-gnu -y
157+
apt-get install zlib1g-dev -y
158+
apt-get install zlib1g-dev:arm64 -y
159+
112160
- uses: actions/checkout@v4
113161

114162
- name: Install dotnet tool

0 commit comments

Comments
 (0)