Skip to content

Commit

Permalink
Update to QuTiP 5 tutorials.
Browse files Browse the repository at this point in the history
  • Loading branch information
hodgestar committed Apr 3, 2024
1 parent b8560c5 commit 0706950
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build_github_pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ jobs:
build_qutip_jupyterlite:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Mambaforge
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3
with:
miniforge-variant: Mambaforge
miniforge-version: latest
channels: conda-forge
python-version: "3.10"
python-version: "3.11"
use-mamba: true
activate-environment: qutip-jupyterlite

Expand All @@ -41,7 +41,7 @@ jobs:
mkdir lite/files/tutorials
TUTDIR=$(pwd)/lite/files/tutorials
unzip qutip-tutorials-main.zip
cd qutip-tutorials-main/tutorials-v4
cd qutip-tutorials-main/tutorials-v5
rm template.md
find . -name '*.md' -exec jupytext --to notebook {} +
find . -name '*.md' -delete
Expand All @@ -55,7 +55,7 @@ jobs:
touch _output/.nojekyll
- name: Store QuTiP jupyterlite artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: qutip-jupyterlite
path: |
Expand All @@ -66,8 +66,8 @@ jobs:
runs-on: ubuntu-latest
if: ${{ github.repository == 'hodgestar/try-qutip' && github.ref == 'refs/heads/main' }}
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@master
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: qutip-jupyterlite
path: publish/
Expand Down

0 comments on commit 0706950

Please sign in to comment.