mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-26 06:19:53 +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/
|
mv dist/*-setup.exe artifact-setup/
|
||||||
mkdir artifact-portable
|
mkdir artifact-portable
|
||||||
mv dist/*-portable.exe artifact-portable/
|
mv dist/*-portable.exe artifact-portable/
|
||||||
|
mkdir artifact-appx
|
||||||
|
mv dist/*.appx artifact-appx/
|
||||||
|
|
||||||
- uses: actions/upload-artifact@master
|
- uses: actions/upload-artifact@master
|
||||||
name: Upload installer
|
name: Upload installer
|
||||||
@ -52,3 +54,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: Portable build
|
name: Portable build
|
||||||
path: artifact-portable
|
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 vars = require('./vars')
|
||||||
|
|
||||||
const isTag = (process.env.GITHUB_REF || process.env.BUILD_SOURCEBRANCH || '').startsWith('refs/tags/')
|
const isTag = (process.env.GITHUB_REF || process.env.BUILD_SOURCEBRANCH || '').startsWith('refs/tags/')
|
||||||
const isCI = !!process.env.GITHUB_REF
|
|
||||||
|
|
||||||
builder({
|
builder({
|
||||||
dir: true,
|
dir: true,
|
||||||
win: ['nsis', 'portable'],
|
win: ['nsis', 'portable', 'appx'],
|
||||||
config: {
|
config: {
|
||||||
extraMetadata: {
|
extraMetadata: {
|
||||||
version: vars.version,
|
version: vars.version,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user