Skip to content

comment out the realtime import that broke the build #17

comment out the realtime import that broke the build

comment out the realtime import that broke the build #17

Workflow file for this run

name: Package Artifacts
on:
push:
branches: [main, cleanup]
release:
types: [published]
workflow_dispatch:
permissions:
contents: write
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
jobs:
package:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.10"
- name: Install notebook/lite tooling
run: |
python -m pip install --upgrade pip
pip install jupyterlite
- name: Prepare JupyterLite notebooks
run: |
mkdir -p docs/lite/files
find docs/lite/files -name '*.ipynb' -delete
cp docs/notebooks/*.ipynb docs/lite/files/
- name: Create zip artifacts
run: |
mkdir -p dist
rm -f dist/bdsim_examples.zip dist/bdsim_notebooks.zip
zip -r dist/bdsim_examples.zip examples
zip -r dist/bdsim_notebooks.zip docs/notebooks
- name: Upload workflow artifacts
uses: actions/upload-artifact@v7
with:
name: bdsim-artifacts
path: |
dist/bdsim_examples.zip
dist/bdsim_notebooks.zip
- name: Upload artifacts to rolling release (push to main)
if: github.event_name == 'push'
uses: softprops/action-gh-release@v2
with:
tag_name: latest-main
name: "Latest build from main"
body: "Automatically updated on every push to the main branch."
prerelease: false
make_latest: true
files: |
dist/bdsim_examples.zip
dist/bdsim_notebooks.zip
- name: Upload artifacts to release
if: github.event_name == 'release'
uses: softprops/action-gh-release@v2
with:
files: |
dist/bdsim_examples.zip
dist/bdsim_notebooks.zip