diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5e31fff..63064ac 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,15 +17,23 @@ jobs: - name: Install Node.js, NPM and Yarn uses: actions/setup-node@v1 with: - node-version: 10 + node-version: 16 - - name: Build/release Electron app - uses: samuelmeuli/action-electron-builder@v1 + - name: Compile Electron App + uses: x6Pnda/action-electron-compiler@v1 with: # GitHub token, automatically provided to the action - # (No need to define this secret in the repo settings) + # (Optional) github_token: ${{ secrets.github_token }} # If the commit is tagged with a version (e.g. "v1.0.0"), - # release the app after building + # (Optional) release: ${{ startsWith(github.ref, 'refs/tags/v') }} + + # Package manager. NPM, PNPM and Yarn supported. Install Yarn and PNPM yourself. Default is NPM + # (Optional) + package_manager: NPM + + # Skip buiding the application + # (Optional) + skip_build: false