From 13f2ba809850b33f3112647cb43685ac3b4104d6 Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Tue, 14 Feb 2023 21:55:01 -0500 Subject: Updated manifest. --- .github/workflows/build.yml | 10 +++++----- manifest.json | 5 +++++ 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ad98dfd..86ccdf0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,14 +43,14 @@ jobs: sudo apt-get install mingw-w64 && ./build.sh clean && CC=x86_64-w64-mingw32-gcc AR=x86_64-w64-mingw32-gcc-ar WINDRES=x86_64-w64-mingw32-windres CMAKE_DEFAULT_FLAGS="-DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=NEVER -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=NEVER -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_SYSTEM_INCLUDE_PATH=/usr/share/mingw-w64/include" LZMA_CONFIGURE="--host=x86_64-w64-mingw32" GIT2_CONFIGURE="-DDLLTOOL=x86_64-w64-mingw32-dlltool" ./build.sh -DLPM_STATIC -DLPM_VERSION='"'$VERSION-x86_64-windows'"' && zip -r lpm-$FULL_VERSION-x86_64-windows.zip lpm.exe cp lpm.exe lpm.x86_64-windows.exe - name: Create Release(s) - env: { GITHUB_TOKEN: "${{ github.token }}" } + env: { GITHUB_TOKEN: "${{ github.token }}", ARTIFACTS: "lpm.x86_64-linux lpm.x86_64-windows.exe lpm.ard-android lpm.aarch64-android lpm.x86-android lpm.x86_64-android" } run: | - gh release delete -y continuous || true; gh release create -t 'Continuous Release' continuous *.zip *.tar.gz + gh release delete -y continuous || true; gh release create -t 'Continuous Release' continuous $ARTIFACTS if [[ `git tag --points-at HEAD | head -c 1` == "v" ]]; then gh release delete -y v$VERSION || true; - gh release create -t v$VERSION v$VERSION lpm.x86_64-linux lpm.x86_64-windows.exe lpm.*-android + gh release create -t v$VERSION v$VERSION $ARTIFACTS gh release delete -y latest || true; - gh release create -t latest latest lpm.x86_64-linux lpm.x86_64-windows.exe lpm.*-android + gh release create -t latest latest $ARTIFACTS fi build_macos: @@ -73,7 +73,7 @@ jobs: cp lpm lpm.x86_64-darwin ./build.sh clean && CC=clang CFLAGS="-arch arm64" ./build.sh -DLPM_STATIC -DLPM_VERSION='"'$FULL_VERSION-aarch64-darwin'"' && tar -czvf lpm-$FULL_VERSION-aarch64-darwin.tar.gz lpm cp lpm lpm.aarch64-darwin - gh release upload continuous *.tar.gz + gh release upload continuous lpm.x86_64-darwin lpm.aarch64-darwin if [[ `git tag --points-at HEAD | head -c 1` == "v" ]]; then gh release upload v$VERSION lpm.x86_64-darwin gh release upload latest lpm.x86_64-darwin diff --git a/manifest.json b/manifest.json index 5c0c6d5..131b233 100644 --- a/manifest.json +++ b/manifest.json @@ -22,6 +22,11 @@ "arch": "x86_64-darwin", "checksum": "SKIP" }, + { + "url": "https://github.com/lite-xl/lite-xl-plugin-manager/releases/download/latest/lpm.aarch64-darwin", + "arch": "aarch64-darwin", + "checksum": "SKIP" + }, { "url": "https://github.com/lite-xl/lite-xl-plugin-manager/releases/download/latest/lpm.aarch64-android", "arch": "aarch64-android", -- cgit v1.2.3