mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-19 19:09:54 +00:00
ci
This commit is contained in:
parent
e0f05654f7
commit
c63c7dae3f
66
.github/workflows/linux.yml
vendored
Normal file
66
.github/workflows/linux.yml
vendored
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
name: Linux Build
|
||||||
|
on: [push, pull_request]
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-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-linux.js
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||||
|
BT_TOKEN: ${{ secrets.BT_TOKEN }}
|
||||||
|
|
||||||
|
- name: Package artifacts
|
||||||
|
run: |
|
||||||
|
mkdir artifact-deb
|
||||||
|
mv dist/*.pkg artifact-deb/
|
||||||
|
mkdir artifact-rpm
|
||||||
|
mv dist/*.zip artifact-rpm/
|
||||||
|
mkdir artifact-snap
|
||||||
|
mv dist/*.zip artifact-snap/
|
||||||
|
mkdir artifact-tar.gz
|
||||||
|
mv dist/*.zip artifact-tar.gz/
|
||||||
|
|
||||||
|
- uses: actions/upload-artifact@master
|
||||||
|
name: Upload DEB
|
||||||
|
with:
|
||||||
|
name: Linux .deb
|
||||||
|
path: artifact-deb
|
||||||
|
|
||||||
|
- uses: actions/upload-artifact@master
|
||||||
|
name: Upload RPM
|
||||||
|
with:
|
||||||
|
name: Linux .rpm
|
||||||
|
path: artifact-rpm
|
||||||
|
|
||||||
|
- uses: actions/upload-artifact@master
|
||||||
|
name: Upload Snap
|
||||||
|
with:
|
||||||
|
name: Linux .snap
|
||||||
|
path: artifact-snap
|
||||||
|
|
||||||
|
- uses: actions/upload-artifact@master
|
||||||
|
name: Upload tarball
|
||||||
|
with:
|
||||||
|
name: Linux tarball
|
||||||
|
path: artifact-tar.gz
|
1
.github/workflows/macos.yml
vendored
1
.github/workflows/macos.yml
vendored
@ -20,6 +20,7 @@ jobs:
|
|||||||
cd ..
|
cd ..
|
||||||
rm app/node_modules/.yarn-integrity
|
rm app/node_modules/.yarn-integrity
|
||||||
yarn
|
yarn
|
||||||
|
yarn run lint
|
||||||
scripts/build-native.js
|
scripts/build-native.js
|
||||||
yarn run build:typings
|
yarn run build:typings
|
||||||
yarn run build
|
yarn run build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user