mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
37 lines
No EOL
1.1 KiB
YAML
37 lines
No EOL
1.1 KiB
YAML
name: build_gui
|
|
on: [push]
|
|
|
|
jobs:
|
|
build_i686_x64_release:
|
|
name: Build FreeDATA GUI
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-20.04, macos-latest, windows-latest]
|
|
include:
|
|
- os: ubuntu-20.04
|
|
electron_parameters: "-p always"
|
|
|
|
- os: macos-latest
|
|
electron_parameters: "-p always"
|
|
|
|
- os: windows-latest
|
|
electron_parameters: "-p always --x64 --ia32"
|
|
|
|
steps:
|
|
- name: Checkout code for ${{ matrix.platform.name }}
|
|
uses: actions/checkout@v4
|
|
with:
|
|
repository: DJ2LS/FreeDATA
|
|
- name: Electron Builder
|
|
env: # Setting environment variables for the entire job
|
|
GH_TOKEN: ${{ secrets.github_token }}
|
|
APPLE_ID: ${{ secrets.APPLE_ID }}
|
|
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
|
|
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
|
|
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
|
|
working-directory: gui
|
|
run: |
|
|
npm i
|
|
npm run release |