mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Create workflow
This commit is contained in:
parent
7115544bce
commit
48189d90c7
38
.github/workflows/build.yaml
vendored
Normal file
38
.github/workflows/build.yaml
vendored
Normal 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 }}/*
|
||||||
Loading…
Reference in New Issue
Block a user