mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-25 13:59:52 +00:00
appx build
This commit is contained in:
parent
1ac22ec563
commit
f1002082f2
8
.github/workflows/windows.yml
vendored
8
.github/workflows/windows.yml
vendored
@ -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
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user