diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml deleted file mode 100644 index 617f9704..00000000 --- a/.github/workflows/build-linux.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Build/release [LINUX] - -on: - workflow_dispatch: {} - -jobs: - release: - runs-on: ${{ matrix.os }} - - strategy: - matrix: - os: [ubuntu-latest] - - steps: - - name: Check out Git repository - uses: actions/checkout@v3 - - - name: Install Node.js - uses: actions/setup-node@v3 - with: - node-version: 16 - - - name: Install dependencies - run: npm i - - - name: Build/release Electron app - uses: samuelmeuli/action-electron-builder@v1 - with: - github_token: ${{ secrets.github_token }} - release: ${{ startsWith(github.ref, 'refs/tags/v') }} diff --git a/.github/workflows/build-mac.yml b/.github/workflows/build-mac.yml deleted file mode 100644 index 8ffef248..00000000 --- a/.github/workflows/build-mac.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Build/release [MAC] - -on: - workflow_dispatch: {} - -jobs: - release: - runs-on: ${{ matrix.os }} - - strategy: - matrix: - os: [macos-latest] - - steps: - - name: Check out Git repository - uses: actions/checkout@v3 - - - name: Install Node.js - uses: actions/setup-node@v3 - with: - node-version: 16 - - - name: Install dependencies - run: npm i - - - name: Build/release Electron app - uses: samuelmeuli/action-electron-builder@v1 - with: - github_token: ${{ secrets.github_token }} - release: ${{ startsWith(github.ref, 'refs/tags/v') }} \ No newline at end of file diff --git a/.github/workflows/build-win.yml b/.github/workflows/build-win.yml deleted file mode 100644 index 509a34d4..00000000 --- a/.github/workflows/build-win.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Build/release [WINDOWS] - -on: - workflow_dispatch: {} - -jobs: - release: - runs-on: ${{ matrix.os }} - - strategy: - matrix: - os: [windows-latest] - - steps: - - name: Check out Git repository - uses: actions/checkout@v3 - - - name: Install Node.js - uses: actions/setup-node@v3 - with: - node-version: 16 - - - name: Install dependencies - run: npm i - - - name: Build/release Electron app - uses: samuelmeuli/action-electron-builder@v1 - with: - github_token: ${{ secrets.github_token }} - release: ${{ startsWith(github.ref, 'refs/tags/v') }} diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a1a3bd53..c6477cce 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,7 +26,7 @@ jobs: run: npm i - name: "Build" - run: npm run build:local + run: npm run build - name: Release uses: ncipollo/release-action@v1 diff --git a/.github/workflows/create-artifact-linux.yml b/.github/workflows/create-artifact-linux.yml index 6a916e8e..43c904c6 100644 --- a/.github/workflows/create-artifact-linux.yml +++ b/.github/workflows/create-artifact-linux.yml @@ -18,7 +18,7 @@ jobs: - name: npm install & build run: | npm install - npm run build:local + npm run build - name: Upload Artifact uses: actions/upload-artifact@v3 diff --git a/package.json b/package.json index 8e467b2a..d5ef0d01 100644 --- a/package.json +++ b/package.json @@ -12,9 +12,8 @@ "compile:main": "webpack --mode=production --config webpack.main.config.js", "compile:workers": "webpack --mode=production --config webpack.workers.config.js", "compile:renderer": "webpack --mode=production --config webpack.renderer.config.js", - "build": "cross-env NODE_ENV=production npm run compile", - "build:local": "npm run build && electron-builder --publish never", - "build:appx": "npm run build:local -- --win appx", + "build": "cross-env NODE_ENV=production npm run compile && electron-builder --publish never", + "build:appx": "npm run build -- --win appx", "rebuild:electron": "rimraf ./dist && npm run postinstall && npm run devtools:install", "release": "standard-version", "release:pre": "npm run release -- --prerelease alpha",