Skip to content

Commit

Permalink
fix: try again to deploy
Browse files Browse the repository at this point in the history
danutzcodrescu committed Apr 4, 2020
1 parent 610da17 commit d0dfff4
Showing 2 changed files with 11 additions and 13 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -13,17 +13,16 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: Cache node modules
uses: actions/cache@v1
env:
cache-name: cache-node-modules
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"

- uses: actions/cache@v1
with:
path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn install
- name: Build installer
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "invoicer",
"productName": "InvoiceR",
"version": "0.0.1",
"main": "./dist/main.js",
"license": "MIT",
@@ -130,7 +129,7 @@
"pretest:e2e": "npm run build",
"test:e2e": "jest '(\\/test\\/e2e/).*'",
"pack": "npm run build && electron-builder --dir",
"dist": "npm run build && electron-builder -p onTagOrDraft",
"dist": "npm run build && electron-builder -p always",
"postinstall": "electron-builder install-app-deps",
"storybook": "cross-env STORYBOOK=true start-storybook -p 6006",
"build-storybook": "build-storybook",
@@ -142,8 +141,8 @@
}
},
"build": {
"productName": "invoice",
"appId": "org.invoice.com",
"productName": "InvoiceR",
"appId": "org.invoicer.com",
"mac": {
"category": "public.app-category.business"
},

0 comments on commit d0dfff4

Please sign in to comment.