Skip to content

Merge pull request #131 from ElmTran/main #9

Merge pull request #131 from ElmTran/main

Merge pull request #131 from ElmTran/main #9

Workflow file for this run

name: Build
on:
push:
branches: [main]
paths-ignore:
- "**.md"
- "**.spec.js"
- ".idea"
- ".vscode"
- ".dockerignore"
- "Dockerfile"
- ".gitignore"
- ".github/**"
- "!.github/workflows/main.yml"
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# [macos-latest, ubuntu-latest, windows-latest]
os: [macos-latest]
steps:
- name: Checkout Code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 14
- name: Install Dependencies
run: npm install
- name: Build Release Files
run: npm run build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: tts-vue-${{ matrix. os }}
path: release/*/*.dmg
retention-days: 30