Skip to content

Commit

Permalink
remove macos release
Browse files Browse the repository at this point in the history
  • Loading branch information
leibnizli committed Jan 2, 2024
1 parent 7b0fa13 commit 07a6713
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 16 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run publish

publish_on_mac:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@master
with:
node-version: 18.17.1
- name: install dependencies
run: npm install
- name: publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run publish

publish_on_win:
runs-on: windows-latest
steps:
Expand Down
9 changes: 8 additions & 1 deletion forge.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,14 @@ module.exports = {
},
{
name: '@electron-forge/maker-zip',
platforms: ["darwin"],
platforms: [],
},
{
name: '@electron-forge/maker-dmg',
config: {
icon: './src/images/icon.icns',
format: 'ULFO'
}
},
{
name: '@electron-forge/maker-deb',
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,15 @@
"dev": "electron .",
"clean": "rm -rf ./out",
"package": "electron-forge package",
"make": "electron-forge make",
"make": "npm run clean && electron-forge make",
"publish": "electron-forge publish"
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/preset-env": "^7.2.3",
"@electron-forge/cli": "^7.2.0",
"@electron-forge/maker-deb": "^7.2.0",
"@electron-forge/maker-dmg": "^7.2.0",
"@electron-forge/maker-rpm": "^7.2.0",
"@electron-forge/maker-squirrel": "^7.2.0",
"@electron-forge/maker-zip": "^7.2.0",
Expand Down

0 comments on commit 07a6713

Please sign in to comment.