From 24c44923428b827fad9800ac267f9121bfb43d44 Mon Sep 17 00:00:00 2001 From: cheng zhen Date: Fri, 10 Jan 2025 20:30:58 +0800 Subject: [PATCH] feat: include .env file in build artifacts for all platforms --- .github/workflows/build.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index af30e1a..96e1863 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,7 +37,9 @@ jobs: uses: actions/upload-artifact@v4 with: name: CursorPro-Windows - path: dist/CursorPro.exe + path: | + dist/CursorPro.exe + dist/.env build-macos-arm64: runs-on: macos-latest @@ -68,7 +70,9 @@ jobs: uses: actions/upload-artifact@v4 with: name: CursorPro-MacOS-ARM64 - path: dist/CursorPro + path: | + dist/CursorPro + dist/.env build-linux: runs-on: ubuntu-22.04 @@ -99,7 +103,9 @@ jobs: uses: actions/upload-artifact@v4 with: name: CursorPro-Linux - path: dist/CursorPro + path: | + dist/CursorPro + dist/.env build-macos-intel: runs-on: macos-latest @@ -136,7 +142,9 @@ jobs: uses: actions/upload-artifact@v4 with: name: CursorPro-MacOS-Intel - path: dist/CursorPro + path: | + dist/CursorPro + dist/.env create-release: needs: [build-windows, build-macos-arm64, build-linux, build-macos-intel]