From d0dfff441d10cd9793b472abd4c2c4c3a82a98c3 Mon Sep 17 00:00:00 2001 From: danutzcodrescu Date: Sat, 4 Apr 2020 08:00:26 +0200 Subject: [PATCH] fix: try again to deploy --- .github/workflows/release.yml | 17 ++++++++--------- package.json | 7 +++---- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4fe977b..eb93c61 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/package.json b/package.json index 65b88a4..19f0682 100644 --- a/package.json +++ b/package.json @@ -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" },