Skip to content

Commit 0e56e16

Browse files
authored
ci: stop publishing x64 macos binaries (#13273)
1 parent 773a691 commit 0e56e16

File tree

2 files changed

+4
-19
lines changed

2 files changed

+4
-19
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ jobs:
7373
project: ${{ fromJSON(needs.check.outputs.projects).*.name }}
7474
runner:
7575
- ubuntu-latest # Linux X64
76-
- macos-13 # MacOs X64
7776
- macos-14 # MacOS ARM64
7877
steps:
7978
- name: Print runner information
@@ -172,11 +171,6 @@ jobs:
172171
with:
173172
name: lotus-${{ matrix.project }}-Linux-X64
174173
path: linux_amd64_v1
175-
- name: Download macOS X64 binaries
176-
uses: actions/download-artifact@v4
177-
with:
178-
name: lotus-${{ matrix.project }}-macOS-X64
179-
path: darwin_amd64_v1
180174
- name: Download macOS ARM64 binaries
181175
uses: actions/download-artifact@v4
182176
with:
@@ -190,25 +184,14 @@ jobs:
190184
env:
191185
prefix: ${{ matrix.project == 'node' && 'lotus' || format('lotus-{0}', matrix.project) }}
192186
version: ${{ fromJSON(steps.project.outputs.config).version }}
193-
binaries: ${{ toJSON(fromJSON(steps.project.outputs.config).binaries) }}
194187
run: |
195-
mkdir darwin_all
196-
while read -r binary; do
197-
if [[ -z "$binary" ]]; then
198-
continue
199-
fi
200-
makefat ./darwin_all/$binary ./darwin_amd64_v1/$binary ./darwin_arm64/$binary
201-
done <<< "$(jq -r '.[]' <<< "$binaries")"
202-
mkdir dist
203-
pushd dist
204-
for directory in darwin_all linux_amd64_v1; do
188+
for directory in darwin_arm64 linux_amd64_v1; do
205189
archive_name="${prefix}_v${version}_${directory}"
206190
cp -r ../$directory $archive_name
207191
tar -czf $archive_name.tar.gz $archive_name
208192
rm -r $archive_name
209193
done
210-
popd
211-
ls -la dist
194+
ls -la .
212195
- name: Install Kubo (checksums generation dependency)
213196
uses: ipfs/download-ipfs-distribution-action@v1
214197
with:

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,10 @@ build/builtin-actors/v*
5353
build/builtin-actors/*.car
5454

5555
dist/
56+
# deprecated
5657
darwin_amd64_v1/
5758
darwin_arm64/
59+
# deprecated
5860
darwin_all/
5961
linux_amd64_v1/
6062

0 commit comments

Comments
 (0)