diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4186a52..a29f4c4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,4 +1,4 @@ -name: publish +name: Publish Builds on: push @@ -19,11 +19,7 @@ jobs: with: node-version: 10 - - name: Build/release Electron app - uses: samuelmeuli/action-electron-builder@v1 - with: - github_token: ${{ secrets.github_token }} - - # If the commit is tagged with a version (e.g. "v1.0.0"), - # release the app after building - release: ${{ startsWith(github.ref, 'refs/tags/v') }} \ No newline at end of file + - run: npm ci + - run: npm run electron:build -p always + env: + GH_TOKEN: ${{ secrets.github_token }} \ No newline at end of file diff --git a/package.json b/package.json index 6a12581..fff54ea 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ }, "scripts": { "serve": "vue-cli-service serve", - "build": "vue-cli-service electron:build", + "build": "vue-cli-service build", "lint": "vue-cli-service lint", "electron:build": "vue-cli-service electron:build", "electron:serve": "vue-cli-service electron:serve",