Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/module-builds' into ctc-office/a…
Browse files Browse the repository at this point in the history
…uthority
  • Loading branch information
ctrlaltf2 committed Aug 4, 2022
2 parents 63f61fd + 24fc92c commit c0544e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
name: Publish

on:
push:
branches:
- main
on: [pull_request, push]

jobs:
publish:
# To enable auto publishing to github, update your electron publisher
# config in package.json > "build" and remove the conditional below
if: ${{ github.repository_owner == 'electron-react-boilerplate' }}

runs-on: ${{ matrix.os }}

strategy:
Expand All @@ -34,13 +29,9 @@ jobs:
- name: Publish releases
env:
# These values are used for auto updates signing
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_ID_PASS: ${{ secrets.APPLE_ID_PASS }}
CSC_LINK: ${{ secrets.CSC_LINK }}
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
# This is used for uploading release assets to github
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npm run postinstall
npm run build
npm exec electron-builder -- --publish always --win --mac --linux
npm exec electron-builder -- --publish always --win
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@
"webpack-merge": "^5.8.0"
},
"build": {
"productName": "ElectronReact",
"appId": "org.erb.ElectronReact",
"productName": "PAAC Light Rail System",
"appId": "edu.pitt.ece1140",
"asar": true,
"asarUnpack": "**\\*.{node,dll}",
"files": [
Expand Down

0 comments on commit c0544e2

Please sign in to comment.