Skip to content

garrettmflynn is building a Linux release #52

garrettmflynn is building a Linux release

garrettmflynn is building a Linux release #52

name: Build and Deploy β€” Linux
run-name: ${{ github.actor }} is building a Linux release
on:
push:
branches: ["main"]
workflow_dispatch:
jobs:
deploy-on-linux:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: commoners-starter-kit
environment-file: environment.yml
auto-activate-base: false
- uses: actions/setup-node@v3
with:
node-version: "18"
- name: Install dependencies
run: npm install
- name: Build and deploy on Linux
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run build -- --desktop --publish