Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
buqiyuan committed Aug 8, 2024
1 parent 84fd747 commit 5875696
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ jobs:

env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CUSTOM_ENV_VAR: "custom_value"

strategy:
fail-fast: false
Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 5875696

Please sign in to comment.