1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Create workflow

This commit is contained in:
Harry Jarman 2022-08-10 17:37:46 +01:00
parent 7115544bce
commit 48189d90c7

38
.github/workflows/build.yaml vendored Normal file
View File

@ -0,0 +1,38 @@
name: Build App
on:
push:
branches:
- master
tags:
- "*"
workflow_dispatch:
jobs:
build:
strategy:
matrix:
build-for: [mac, win, linux]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Setup Node
uses: actions/setup-node@v3
- name: Install packages
run: yarn install
- name: Download binaries
run: yarn download:binaries
- name: Build ${{ matrix.build-for }}
run: yarn build:${{ matrix.build-for }}
- name: Save Artifacts
uses: actions/upload-artifact@v2
with:
path: ./dist/${{ matrix.build-for }}/*