1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-11-25 19:17:39 +03:00
This commit is contained in:
Eugene Pankov 2019-08-26 22:38:13 +02:00
parent c63c7dae3f
commit 927ca57e56
4 changed files with 57 additions and 6 deletions

View File

@ -33,13 +33,13 @@ jobs:
- name: Package artifacts
run: |
mkdir artifact-deb
mv dist/*.pkg artifact-deb/
mv dist/*.deb artifact-deb/
mkdir artifact-rpm
mv dist/*.zip artifact-rpm/
mv dist/*.rpm artifact-rpm/
mkdir artifact-snap
mv dist/*.zip artifact-snap/
mv dist/*.snap artifact-snap/
mkdir artifact-tar.gz
mv dist/*.zip artifact-tar.gz/
mv dist/*.tar.gz artifact-tar.gz/
- uses: actions/upload-artifact@master
name: Upload DEB

51
.github/workflows/windows.yml vendored Normal file
View File

@ -0,0 +1,51 @@
name: Windows Build
on: [push, pull_request]
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Installing Node
uses: actions/setup-node@v1
with:
version: 10
- name: Build
run: |
cd app
yarn
cd ..
rm app/node_modules/.yarn-integrity
yarn
yarn run lint
scripts/build-native.js
yarn run build:typings
yarn run build
scripts/prepackage-plugins.js
scripts/build-windows.js
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
BT_TOKEN: ${{ secrets.BT_TOKEN }}
WIN_CSC_LINK: ${{ secrets.WIN_CSC_LINK }}
- name: Package artifacts
run: |
mkdir artifact-setup
mv dist/*-setup.exe artifact-setup/
mkdir artifact-portable
mv dist/*-portable.exe artifact-portable/
- uses: actions/upload-artifact@master
name: Upload installer
with:
name: Installer
path: artifact-setup
- uses: actions/upload-artifact@master
name: Upload portable build
with:
name: Portable build
path: artifact-portable

View File

@ -2,7 +2,7 @@
const builder = require('electron-builder').build
const vars = require('./vars')
const isTag = (process.env.BUILD_SOURCEBRANCH || '').startsWith('refs/tags/')
const isTag = (process.env.GITHUB_REF || '').startsWith('refs/tags/')
builder({
dir: true,

View File

@ -2,7 +2,7 @@
const builder = require('electron-builder').build
const vars = require('./vars')
const isTag = (process.env.BUILD_SOURCEBRANCH || '').startsWith('refs/tags/')
const isTag = (process.env.GITHUB_REF || '').startsWith('refs/tags/')
builder({
dir: true,