Skip to content

Commit a76dc1d

Browse files
committed
chore: remove MakerDeb and MakerRpm from forge.config.ts and package.json, update pnpm-lock.yaml accordingly, and adjust GitHub Actions workflow to exclude Linux builds
1 parent 9e0a02f commit a76dc1d

4 files changed

Lines changed: 3 additions & 222 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches: [main, master]
66
tags:
7-
- 'v*'
7+
- "v*"
88
pull_request:
99
branches: [main, master]
1010
workflow_dispatch:
@@ -13,10 +13,8 @@ jobs:
1313
build:
1414
strategy:
1515
matrix:
16-
os: [ubuntu-latest, windows-latest, macos-latest]
16+
os: [windows-latest, macos-latest]
1717
include:
18-
- os: ubuntu-latest
19-
platform: linux
2018
- os: windows-latest
2119
platform: win
2220
- os: macos-latest
@@ -40,7 +38,7 @@ jobs:
4038
uses: actions/setup-node@v6
4139
with:
4240
node-version: 20
43-
cache: 'pnpm'
41+
cache: "pnpm"
4442

4543
- name: Install dependencies
4644
run: pnpm install --frozen-lockfile
@@ -150,18 +148,6 @@ jobs:
150148
env:
151149
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
152150

153-
- name: Upload Linux Release Assets
154-
if: matrix.os == 'ubuntu-latest' && startsWith(github.ref, 'refs/tags/v')
155-
uses: softprops/action-gh-release@v2
156-
with:
157-
draft: false
158-
generate_release_notes: true
159-
files: |
160-
out/make/deb/x64/*.deb
161-
out/make/rpm/x64/*.rpm
162-
env:
163-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
164-
165151
- name: Upload artifacts for debugging (Windows)
166152
if: matrix.os == 'windows-latest' && !startsWith(github.ref, 'refs/tags/v')
167153
uses: actions/upload-artifact@v6
@@ -180,13 +166,3 @@ jobs:
180166
name: build-darwin-${{ github.sha }}
181167
path: out/make/zip/darwin/**/*.zip
182168
retention-days: 7
183-
184-
- name: Upload artifacts for debugging (Linux)
185-
if: matrix.os == 'ubuntu-latest' && !startsWith(github.ref, 'refs/tags/v')
186-
uses: actions/upload-artifact@v6
187-
with:
188-
name: build-linux-${{ github.sha }}
189-
path: |
190-
out/make/deb/x64/*.deb
191-
out/make/rpm/x64/*.rpm
192-
retention-days: 7

forge.config.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
import { FuseV1Options, FuseVersion } from '@electron/fuses'
2-
import { MakerDeb } from '@electron-forge/maker-deb'
3-
import { MakerRpm } from '@electron-forge/maker-rpm'
42
import { MakerSquirrel } from '@electron-forge/maker-squirrel'
53
import { MakerZIP } from '@electron-forge/maker-zip'
64
import { FusesPlugin } from '@electron-forge/plugin-fuses'
@@ -43,16 +41,6 @@ const config: ForgeConfig = {
4341
setupIcon: 'src/assets/icons/installer/icon.ico',
4442
}),
4543
new MakerZIP({}, ['darwin']),
46-
new MakerRpm({
47-
options: {
48-
bin: 'comet',
49-
},
50-
}),
51-
new MakerDeb({
52-
options: {
53-
bin: 'comet',
54-
},
55-
}),
5644
],
5745
plugins: [
5846
new VitePlugin({

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
"devDependencies": {
2323
"@biomejs/biome": "^2.3.11",
2424
"@electron-forge/cli": "^7.11.1",
25-
"@electron-forge/maker-deb": "^7.11.1",
26-
"@electron-forge/maker-rpm": "^7.11.1",
2725
"@electron-forge/maker-squirrel": "^7.11.1",
2826
"@electron-forge/maker-zip": "^7.11.1",
2927
"@electron-forge/plugin-auto-unpack-natives": "^7.11.1",

0 commit comments

Comments
 (0)