commit 3f2e1c1db94e10d4c84d0d7be726419a793b079c
parent a7b9920930f032419439f52ca529abcffc0d15b1
Author: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
Date: Fri, 22 Jul 2022 22:08:11 +0800
ci(release): use cpack on macOS #19459
We use `cpack` to generate the release tarballs on Linux. Now that we
don't need to bundle `libintl`, we can do the same on macOS.
Diffstat:
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
@@ -112,14 +112,12 @@ jobs:
CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX:PATH= $OSX_FLAGS" \
DEPS_CMAKE_FLAGS="$OSX_FLAGS"
make DESTDIR="$GITHUB_WORKSPACE/build/release/nvim-macos" install
- - name: Create package
- run: |
- cd "$GITHUB_WORKSPACE/build/release"
- tar cfz nvim-macos.tar.gz nvim-macos
+ cd "$GITHUB_WORKSPACE/build/"
+ cpack -C "$NVIM_BUILD_TYPE"
- uses: actions/upload-artifact@v3
with:
name: nvim-macos
- path: build/release/nvim-macos.tar.gz
+ path: build/nvim-macos.tar.gz
retention-days: 1
windows: