Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
buqiyuan committed Aug 7, 2024
1 parent 471fcbe commit 1bc78e1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,23 @@ jobs:
- name: Release for Windows
if: matrix.os == 'windows-latest'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
pnpm build:pkg
- name: Release for MacOS
if: matrix.os == 'macos-12'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
pnpm build:pkg
- name: Release for Linux
if: matrix.os == 'ubuntu-latest'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
pnpm build:pkg
7 changes: 6 additions & 1 deletion apps/electron/scripts/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,12 @@ const options: Configuration = {
},
target: ["AppImage", "rpm", "deb"],
},
publish: 'always'
publish: [
{
provider: 'github',
releaseType: 'draft',
}
]
};

// 要打包的目标平台
Expand Down

0 comments on commit 1bc78e1

Please sign in to comment.