load settings from dist instead from src #10
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build & Release GUI | |
on: | |
push: | |
tags: | |
- v*.*.* | |
jobs: | |
release: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v3 | |
- name: Install Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Install Dependencies | |
run: npm install -f | |
- name: build-linux | |
if: matrix.os == 'ubuntu-latest' | |
run: cd ./packages/gui && npm run build:linux | |
- name: build-mac | |
if: matrix.os == 'macos-latest' | |
run: cd ./packages/gui && npm run build:mac | |
- name: build-win | |
if: matrix.os == 'windows-latest' | |
run: cd ./packages/gui && npm run build:win | |
- name: release | |
uses: softprops/action-gh-release@v1 | |
with: | |
draft: true | |
files: | | |
dist/*.exe | |
dist/*.zip | |
dist/*.dmg | |
dist/*.AppImage | |
dist/*.snap | |
dist/*.deb | |
dist/*.rpm | |
dist/*.tar.gz | |
dist/*.yml | |
dist/*.blockmap | |
env: | |
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} |