Skip to content

Release windows

Release windows #6

Workflow file for this run

name: Release windows
on: workflow_dispatch
jobs:
release:
name: Build windows binaries
runs-on: windows-latest
timeout-minutes: 30
env:
AM_DEV_TOKEN: ${{secrets.AM_DEV_TOKEN}}
LF_API_KEY: ${{secrets.LF_API_KEY}}
LF_API_SECRET: ${{secrets.LF_API_SECRET}}
SPOTIFY_DISABLED: 'true'
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20.x"
- name: Install web view dependencies
run: npm install
- name: Build web view
run: npm run build:electron
- name: Install electron dependencies
working-directory: ./app
run: npm install
- name: Install castlabs-evs
working-directory: ./app
run: python -m pip install --upgrade castlabs-evs
- name: Authorize castlabs-evs
working-directory: ./app
run: python -m castlabs_evs.account reauth -A ${{secrets.CASTLABS_ACCOUNT_NAME}} -P ${{secrets.CASTLABS_PASSWORD}}
- name: Build and package electron app
working-directory: ./app
run: npm exec electron-builder -- --publish always --win