Skip to content

run new compilation steps #12

run new compilation steps

run new compilation steps #12

Workflow file for this run

name: Release
on:
push:
tags:
- '*'
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 18
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: pnpm install
- name: Build monorepo
run: pnpm run build
- name: Upload vanguard-client-desktop artifacts
uses: actions/upload-artifact@v2
with:
name: release-vanguard-client-desktop-${{ matrix.os }}
path: apps/vanguard-client-desktop/release/0.1.0
- name: Upload cli artifacts
uses: actions/upload-artifact@v2
with:
name: release-cli-${{ matrix.os }}
path: apps/cli/release
release:
needs: build
runs-on: ubuntu-latest
steps:
- name: Download artifacts
uses: actions/download-artifact@v2
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
release-macos-latest/vanguard-client-macos.dmg
release-ubuntu-latest/*
release-windows-latest/*
release-cli-ubuntu-latest/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}