Kaydet (Commit) 6e8502ce authored tarafından Emincan Özcan's avatar Emincan Özcan

desktop-client build with github actions

üst 5e10288e
name: Build/Release Desktop Client
on: push
jobs:
release:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
steps:
- name: Check out Git repository
uses: actions/checkout@v1
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
with:
node-version: 12
- name: Build/release Electron app
uses: samuelmeuli/action-electron-builder@v1
with:
package_root: desktop-client
use_vue_cli: true
github_token: ${{ secrets.github_token }}
release: ${{ startsWith(github.ref, 'refs/tags/v') }}
\ No newline at end of file
{
"name": "desktop-client",
"version": "0.1.0",
"author": "Emincan Ozcan <emincan@emincanozcan.com>",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
......
module.exports = {
pluginOptions: {
electronBuilder: {
builderOptions: {
linux: {
publish: ["github"],
target: ["AppImage", "deb"],
},
},
},
},
chainWebpack: (config) => {
const svgRule = config.module.rule("svg");
svgRule.uses.clear();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment