This repository has been archived by the owner on Jul 21, 2024. It is now read-only.
Merge branch 'main' of https://github.com/Prince527GitHub/Gensokyo-Radio #17
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 App | |
on: push | |
jobs: | |
release: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
if: matrix.os == 'macos-latest' | |
with: | |
python-version: '3.10' | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 'lts/*' | |
- name: Setup Node.js | |
if: matrix.os == 'ubuntu-latest' | |
run: sudo apt install flatpak flatpak-builder elfutils | |
- name: Install Packages | |
run: npm i | |
- name: Build App | |
run: npm run make | |
- name: Upload App | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ matrix.os }} | |
path: ./out |