Skip to content

garrettmflynn is building a Windows release for NWB GUIDE #61

garrettmflynn is building a Windows release for NWB GUIDE

garrettmflynn is building a Windows release for NWB GUIDE #61

name: Build-and-deploy-win
run-name: ${{ github.actor }} is building a Windows release for NWB GUIDE
on:
workflow_dispatch:
jobs:
deploy-on-windows:
runs-on: windows-latest
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
with:
python-version: "3.10"
- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: nwb-guide
environment-file: environments/environment-Windows.yml
auto-activate-base: false
- uses: actions/setup-node@v3
with:
node-version: "18"
- name: Install package.json modules and their dependencies
run: npm install --ignore-scripts
- name: Build and deploy on Windows
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run deploy:win