Skip to content

Commit f491646

Browse files
committed
don't include macOS amd64 in distribution builds
1 parent 18f39c9 commit f491646

File tree

1 file changed

+1
-45
lines changed

1 file changed

+1
-45
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -290,43 +290,6 @@ jobs:
290290
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_validator_client.sha512sum
291291
retention-days: 2
292292
overwrite: true # TODO remove after initial working upload
293-
build-macos-amd64:
294-
name: macOS AMD64 release asset
295-
runs-on: ubuntu-latest
296-
steps:
297-
- name: Checkout code
298-
uses: actions/checkout@v4
299-
- name: Build project
300-
id: make_dist
301-
run: |
302-
make dist-macos
303-
cd dist
304-
ARCHIVE=$(echo nimbus-eth2_macOS_amd64_*.tar.gz)
305-
echo "::set-output name=archive::"${ARCHIVE}
306-
echo "::set-output name=archive_dir::"${ARCHIVE%.tar.gz}
307-
tar -xzf ${ARCHIVE} ${ARCHIVE%.tar.gz}/build/nimbus_beacon_node.sha512sum
308-
tar -xzf ${ARCHIVE} ${ARCHIVE%.tar.gz}/build/nimbus_validator_client.sha512sum
309-
- name: Upload archive artefact
310-
uses: actions/upload-artifact@v4
311-
with:
312-
name: macOS_amd64_archive
313-
path: ./dist/${{ steps.make_dist.outputs.archive }}
314-
retention-days: 2
315-
overwrite: true # TODO remove after initial working upload
316-
- name: Upload BN checksum artefact
317-
uses: actions/upload-artifact@v4
318-
with:
319-
name: macOS_amd64_checksum_bn
320-
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_beacon_node.sha512sum
321-
retention-days: 2
322-
overwrite: true # TODO remove after initial working upload
323-
- name: Upload VC checksum artefact
324-
uses: actions/upload-artifact@v4
325-
with:
326-
name: macOS_amd64_checksum_vc
327-
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_validator_client.sha512sum
328-
retention-days: 2
329-
overwrite: true # TODO remove after initial working upload
330293
build-macos-arm64:
331294
name: macOS ARM64 release asset
332295
runs-on: ubuntu-latest
@@ -366,7 +329,7 @@ jobs:
366329
overwrite: true # TODO remove after initial working upload
367330
prepare-release:
368331
name: Prepare release draft
369-
needs: [build-amd64, build-arm64, build-arm, build-win64, build-macos-amd64, build-macos-arm64]
332+
needs: [build-amd64, build-arm64, build-arm, build-win64, build-macos-arm64]
370333
runs-on: ubuntu-latest
371334
steps:
372335
- name: Download artefacts
@@ -400,9 +363,6 @@ jobs:
400363
echo '# Windows AMD64' >> release_notes.md
401364
cat Windows_amd64_checksum_bn/* >> release_notes.md
402365
cat Windows_amd64_checksum_vc/* >> release_notes.md
403-
echo '# macOS AMD64' >> release_notes.md
404-
cat macOS_amd64_checksum_bn/* >> release_notes.md
405-
cat macOS_amd64_checksum_vc/* >> release_notes.md
406366
echo '# macOS ARM64' >> release_notes.md
407367
cat macOS_arm64_checksum_bn/* >> release_notes.md
408368
cat macOS_arm64_checksum_vc/* >> release_notes.md
@@ -424,7 +384,6 @@ jobs:
424384
Linux_arm_archive/*
425385
Linux_arm_packages/*
426386
Windows_amd64_archive/*
427-
macOS_amd64_archive/*
428387
macOS_arm64_archive/*
429388
- name: Delete artefacts
430389
uses: geekyeggo/delete-artifact@v1
@@ -446,9 +405,6 @@ jobs:
446405
Windows_amd64_archive
447406
Windows_amd64_checksum_bn
448407
Windows_amd64_checksum_vc
449-
macOS_amd64_archive
450-
macOS_amd64_checksum_bn
451-
macOS_amd64_checksum_vc
452408
macOS_arm64_archive
453409
macOS_arm64_checksum_bn
454410
macOS_arm64_checksum_vc

0 commit comments

Comments
 (0)