mirror of
https://github.com/Eugeny/tabby.git
synced 2024-12-22 18:11:43 +03:00
Fixes
This commit is contained in:
parent
38f8a7cfef
commit
d6bcdbde78
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@ -218,8 +218,6 @@ jobs:
|
|||||||
mv dist/*.rpm artifact-rpm/ || true
|
mv dist/*.rpm artifact-rpm/ || true
|
||||||
mkdir artifact-pacman
|
mkdir artifact-pacman
|
||||||
mv dist/*.pacman artifact-pacman/ || true
|
mv dist/*.pacman artifact-pacman/ || true
|
||||||
mkdir artifact-snap
|
|
||||||
mv dist/*.snap artifact-snap/ || true
|
|
||||||
mkdir artifact-tar.gz
|
mkdir artifact-tar.gz
|
||||||
mv dist/*.tar.gz artifact-tar.gz/ || true
|
mv dist/*.tar.gz artifact-tar.gz/ || true
|
||||||
mkdir artifact-web
|
mkdir artifact-web
|
||||||
@ -242,13 +240,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: Linux Pacman (${{matrix.arch}})
|
name: Linux Pacman (${{matrix.arch}})
|
||||||
path: artifact-pacman
|
path: artifact-pacman
|
||||||
# if: ${{ matrix.arch == 'x86_64' }}
|
|
||||||
|
|
||||||
- uses: actions/upload-artifact@master
|
|
||||||
name: Upload Snap
|
|
||||||
with:
|
|
||||||
name: Linux Snap (${{matrix.arch}})
|
|
||||||
path: artifact-snap
|
|
||||||
|
|
||||||
- uses: actions/upload-artifact@master
|
- uses: actions/upload-artifact@master
|
||||||
name: Upload Linux tarball
|
name: Upload Linux tarball
|
||||||
|
@ -15,7 +15,7 @@ builder({
|
|||||||
extraMetadata: {
|
extraMetadata: {
|
||||||
version: vars.version,
|
version: vars.version,
|
||||||
},
|
},
|
||||||
npmRebuild: (process.env.ARCH !== 'arm64' && process.env.ARCH !== 'armv7l'),
|
npmRebuild: process.env.ARCH !== 'arm*',
|
||||||
},
|
},
|
||||||
publish: isTag ? 'always' : 'onTag',
|
publish: isTag ? 'always' : 'onTag',
|
||||||
}).catch(() => process.exit(1))
|
}).catch(() => process.exit(1))
|
||||||
|
@ -3,12 +3,15 @@ const rebuild = require('electron-rebuild').default
|
|||||||
const path = require('path')
|
const path = require('path')
|
||||||
const vars = require('./vars')
|
const vars = require('./vars')
|
||||||
|
|
||||||
|
process.env.ARCH = process.env.ARCH || process.arch
|
||||||
|
if ( process.env.ARCH === 'arm' ) process.env.ARCH = 'armv7l' ;
|
||||||
|
|
||||||
let lifecycles = []
|
let lifecycles = []
|
||||||
for (let dir of ['app', 'tabby-core', 'tabby-local', 'tabby-ssh', 'tabby-terminal']) {
|
for (let dir of ['app', 'tabby-core', 'tabby-local', 'tabby-ssh', 'tabby-terminal']) {
|
||||||
const build = rebuild({
|
const build = rebuild({
|
||||||
buildPath: path.resolve(__dirname, '../' + dir),
|
buildPath: path.resolve(__dirname, '../' + dir),
|
||||||
electronVersion: vars.electronVersion,
|
electronVersion: vars.electronVersion,
|
||||||
arch: process.env.ARCH ?? process.arch,
|
arch: process.env.ARCH,
|
||||||
force: true,
|
force: true,
|
||||||
})
|
})
|
||||||
build.catch(e => {
|
build.catch(e => {
|
||||||
|
@ -15,6 +15,7 @@ builder({
|
|||||||
extraMetadata: {
|
extraMetadata: {
|
||||||
version: vars.version,
|
version: vars.version,
|
||||||
},
|
},
|
||||||
|
npmRebuild: process.env.ARCH !== 'arm64',
|
||||||
},
|
},
|
||||||
publish: isTag ? 'always' : 'onTag',
|
publish: isTag ? 'always' : 'onTag',
|
||||||
}).catch(() => process.exit(1))
|
}).catch(() => process.exit(1))
|
||||||
|
Loading…
Reference in New Issue
Block a user