Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sosiristseng committed Oct 14, 2024
1 parent c175364 commit 15c5a3b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,10 @@ jobs:
with:
path: ${{ env.NBCACHE }}
key: ${{ steps.nb-cache.outputs.cache-primary-key }}
- name: Convert artifact Name
id: art
run: echo "name=$(echo ${{ env.NB }} | sed 's/\//-/g')" >> "$GITHUB_OUTPUT"
- name: Upload Notebook
uses: actions/upload-artifact@v4
with:
name: notebook-${{ needs.setup.outputs.ver }}-${{ needs.setup.outputs.hash }}-${{ hashFiles(env.NB) }}
name: notebook-${{ needs.setup.outputs.hash }}-${{ hashFiles(env.NB) }}
path: ${{ env.NBCACHE }}
include-hidden-files: true
retention-days: 1
Expand All @@ -122,9 +119,9 @@ jobs:
with:
python-version: '3.x'
- name: Install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
run: pip install uv
- name: Install Python dependencies
run: uv pip install -r requirements-jb.txt
run: uv pip install jupyter-book
- name: Build website
run: jupyter-book build docs/
- name: Upload pages artifact
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linkcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ jobs:
with:
python-version: '3.x'
- name: Install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
run: pip install uv
- name: Install Python dependencies
run: uv pip install -r requirements-jb.txt
run: uv pip install jupyter-book
- name: Build website
run: jupyter-book build ${DIR} --builder linkcheck
2 changes: 1 addition & 1 deletion env.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM julia:1.10.5 as julia
FROM julia:1.11.0 as julia
FROM ghcr.io/astral-sh/uv:latest as uv
FROM python:3.12.5-slim

Expand Down
1 change: 0 additions & 1 deletion requirements-jb.txt

This file was deleted.

0 comments on commit 15c5a3b

Please sign in to comment.