Skip to content

Commit 5eab5c2

Browse files
committed
Fix CI: Add write permissions and disable Snap build
1 parent c3f429f commit 5eab5c2

2 files changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ jobs:
1212
release:
1313
runs-on: ${{ matrix.os }}
1414

15+
permissions:
16+
contents: write
17+
1518
strategy:
1619
matrix:
1720
os: [macos-latest, ubuntu-latest, windows-latest]

package.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,27 @@
2121
"build:mac": "npm run build && electron-builder --mac",
2222
"build:linux": "npm run build && electron-builder --linux"
2323
},
24+
"build": {
25+
"appId": "com.cheerawab.r2manager",
26+
"productName": "Cloudflare R2 Manager",
27+
"mac": {
28+
"target": [
29+
"dmg",
30+
"zip"
31+
]
32+
},
33+
"win": {
34+
"target": [
35+
"nsis"
36+
]
37+
},
38+
"linux": {
39+
"target": [
40+
"AppImage"
41+
],
42+
"category": "Utility"
43+
}
44+
},
2445
"dependencies": {
2546
"@aws-sdk/client-s3": "^3.400.0",
2647
"@aws-sdk/lib-storage": "^3.958.0",

0 commit comments

Comments
 (0)