Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Build

Build #20

Workflow file for this run

name: Build
on:
workflow_dispatch:
jobs:
make:
name: "Make distribuables"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Install dependencies
run: yarn
- name: Build app
run: yarn run make
- name: Upload Artifact
uses: actions/[email protected]
with:
# Artifact name
name: "${{ matrix.os }}"
# A file, directory or wildcard pattern that describes what to upload
path: out/make/
if-no-files-found: error
- name: Cache
uses: actions/[email protected]
with:
# A list of files, directories, and wildcard patterns to cache and restore
path: ./
# An explicit key for restoring and saving the cache
key: "${{ matrix.os }}-cache"
publish:
name: "Publish to Github Releases"
needs: make
runs-on: ubuntu-latest
steps:
- name: Download Artifacts
uses: actions/[email protected]
- name: (Debug) list files
run: ls -R ./