appx build

This commit is contained in:
Eugene Pankov 2020-02-06 14:14:02 +03:00
parent 1ac22ec563
commit f1002082f2
2 changed files with 9 additions and 2 deletions

View File

@ -40,6 +40,8 @@ jobs:
mv dist/*-setup.exe artifact-setup/
mkdir artifact-portable
mv dist/*-portable.exe artifact-portable/
mkdir artifact-appx
mv dist/*.appx artifact-appx/
- uses: actions/upload-artifact@master
name: Upload installer
@ -52,3 +54,9 @@ jobs:
with:
name: Portable build
path: artifact-portable
- uses: actions/upload-artifact@master
name: Upload APPX
with:
name: Portable build
path: artifact-appx

View File

@ -3,11 +3,10 @@ const builder = require('electron-builder').build
const vars = require('./vars')
const isTag = (process.env.GITHUB_REF || process.env.BUILD_SOURCEBRANCH || '').startsWith('refs/tags/')
const isCI = !!process.env.GITHUB_REF
builder({
dir: true,
win: ['nsis', 'portable'],
win: ['nsis', 'portable', 'appx'],
config: {
extraMetadata: {
version: vars.version,