Release linux #11
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: Release linux | |
on: workflow_dispatch | |
jobs: | |
release: | |
name: Build linux binaries | |
runs-on: ubuntu-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: Build and package electron app | |
working-directory: ./app | |
run: npm exec electron-builder -- --publish always --linux |