Skip to content

Commit

Permalink
Try packaging again
Browse files Browse the repository at this point in the history
  • Loading branch information
amCap1712 committed Jul 20, 2023
1 parent d435b84 commit 9c0c671
Show file tree
Hide file tree
Showing 3 changed files with 96 additions and 46 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/package2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ on:

jobs:

publish:
publish-ubuntu:

runs-on: [macos-latest]
runs-on: ubuntu-latest

steps:
- name: Checkout git repo
Expand All @@ -24,11 +24,11 @@ jobs:
- name: Install dependencies
run: npm install

- name: Publish releases
- name: Build binaries
env:
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_ID_PASS: ${{ secrets.APPLE_ID_PASS }}
CSC_LINK: ${{ secrets.CSC_LINK }}
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run distAll
run: npm run release
120 changes: 83 additions & 37 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 9 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@
"main": "main.js",
"scripts": {
"start": "electron .",
"distAll": "electron-builder -- --publish always --win --mac --linux",
"release": "electron-builder",
"dist": "electron-builder"
},
"repository": "https://github.com/metabrainz/listenbrainz-server",
"repository": {
"type": "git",
"url": "github.com/metabrainz/listenbrainz-now-playing.git"
},
"keywords": [
"listenbrainz",
"musicbrainz",
Expand All @@ -18,10 +21,11 @@
"author": "The MetaBrainz Foundation <[email protected]>",
"license": "CC0-1.0",
"devDependencies": {
"electron": "^22.0.0",
"electron": "^25.3.1",
"electron-builder": "^23.6.0"
},
"build": {
"artifactName": "${name}-${os}-${arch}-${version}.${ext}",
"linux": {
"category": "music",
"target": [
Expand Down Expand Up @@ -54,8 +58,8 @@
"afterSign": "./notarize.js"
},
"dependencies": {
"@electron/asar": "^3.2.2",
"@electron/notarize": "^1.2.3",
"@electron/asar": "^3.2.4",
"@electron/notarize": "^2.1.0",
"@electron/osx-sign": "^1.0.4"
}
}

0 comments on commit 9c0c671

Please sign in to comment.