Skip to content

Commit

Permalink
feat(#60): update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jannis-baum committed Jul 3, 2024
1 parent 38c2453 commit 267d19c
Showing 1 changed file with 27 additions and 6 deletions.
33 changes: 27 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,26 +18,47 @@ jobs:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: yarn
- run: yarn lint

build:
name: Build
build-linux:
name: Build Linux
needs: [lint]
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: build
run: |
yarn
yarn build
make linux
- name: package
if: startsWith(github.ref, 'refs/tags/v')
run: |
zip -r vivify-macos.zip bin/macos/*
zip -r vivify-linux.zip bin/linux/*
build-macos:
name: Build MacOS
needs: [lint]
runs-on: macos-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: build
run: |
yarn
make macos
- name: package
if: startsWith(github.ref, 'refs/tags/v')
run: |
zip -r vivify-macos.zip bin/macos/*
release:
name: Release
needs: [build-linux, build-macos]
runs-on: ubuntu-latest
steps:
- name: release
if: startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit 267d19c

Please sign in to comment.