Skip to content

Commit 305caaf

Browse files
committed
ci: remove macos x86_64 and universal jobs; install zip on windows
Drop build-macos-x86_64 (macos-13 never picks up) and build-macos-universal (adds complexity). macOS ships only aarch64 tar.gz + .dmg. Install zip via choco on windows-latest before tarball packaging.
1 parent 842c92a commit 305caaf

1 file changed

Lines changed: 14 additions & 11 deletions

File tree

.github/workflows/release.yml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -327,19 +327,22 @@ jobs:
327327
shell: bash
328328
run: echo "VERSION=${GITHUB_REF_NAME#v}" >> "$GITHUB_ENV"
329329

330+
- name: Install zip
331+
run: choco install zip -y --no-progress
332+
330333
- name: Package zip (x86_64-pc-windows-msvc)
331-
shell: powershell
334+
shell: bash
332335
run: |
333-
$TARGET="x86_64-pc-windows-msvc"
334-
$STAGING="neomacs-${env:VERSION}-${TARGET}"
335-
New-Item -ItemType Directory -Force -Path "$STAGING"
336-
Copy-Item target/release/neomacs.exe "$STAGING/"
337-
Copy-Item target/release/neomacs.pdump "$STAGING/"
338-
Copy-Item -Recurse lisp "$STAGING/"
339-
Copy-Item -Recurse etc "$STAGING/"
340-
Copy-Item COPYING "$STAGING/"
341-
New-Item -ItemType Directory -Force -Path dist
342-
Compress-Archive -Path "$STAGING" -DestinationPath "dist/${STAGING}.zip"
336+
TARGET=x86_64-pc-windows-msvc
337+
STAGING="neomacs-${VERSION}-${TARGET}"
338+
mkdir -p "$STAGING"
339+
cp target/release/neomacs.exe "$STAGING/"
340+
cp target/release/neomacs.pdump "$STAGING/"
341+
cp -r lisp "$STAGING/"
342+
cp -r etc "$STAGING/"
343+
cp COPYING "$STAGING/"
344+
mkdir -p dist
345+
zip -r "dist/${STAGING}.zip" "$STAGING"
343346
344347
- name: Package .exe installer
345348
shell: bash

0 commit comments

Comments
 (0)