diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a7a917c7..d8f4d528 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,6 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - CUSTOM_ENV_VAR: "custom_value" strategy: fail-fast: false @@ -42,22 +41,15 @@ jobs: - name: Release for Windows if: matrix.os == 'windows-latest' - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | pnpm build:pkg - name: Release for MacOS - if: matrix.os == 'macos-12' - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + if: matrix.os == 'macos-latest' run: | - echo "$CUSTOM_ENV_VAR . Today is !" pnpm build:pkg - name: Release for Linux if: matrix.os == 'ubuntu-latest' - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | pnpm build:pkg diff --git a/package.json b/package.json index 3cb41ad8..f17cf71a 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ }, "scripts": { "dev": "tsx scripts/watch.ts", - "build": "turbo run build && pnpm run compile", + "build": "turbo run build", "dev:p": "turbo run dev --parallel", "compile": "turbo run compile", "build:pkg": "pnpm -F electron-main run build:pkg",