diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1724328..bbdb9a8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,6 @@ env: CACHE_NUM: '1' JULIA_CONDAPKG_BACKEND: 'Null' JULIA_CI: 'true' - PY_VER: '3.12' jobs: CI: @@ -30,16 +29,16 @@ jobs: uses: actions/setup-python@v5 id: cp with: - python-version: ${{ env.PY_VER }} + python-version: '3.x' - name: Cache pip dependencies uses: actions/cache@v4 id: cache-py with: save-always: 'true' path: ${{ env.pythonLocation }} - key: ${{ runner.os }}-pip-${{ env.CACHE_NUM }}-${{ steps.cp.outputs.python-version }}-${{ hashFiles('requirements.txt') }} + key: ${{ runner.os }}-pip-${{ steps.cp.outputs.python-version }}-${{ hashFiles('requirements.txt') }} - name: Install pip dependencies if cache miss - if: steps.cache-py.outputs.cache-hit != 'true' + if: ${{ steps.cache-py.outputs.cache-hit != 'true' }} run: pip install -r requirements.txt - name: Read Julia version uses: SebRollen/toml-action@v1.2.0 diff --git a/.github/workflows/linkcheck.yml b/.github/workflows/linkcheck.yml index e2f79ab..0416722 100644 --- a/.github/workflows/linkcheck.yml +++ b/.github/workflows/linkcheck.yml @@ -19,7 +19,6 @@ jobs: linkcheck: env: DIR: 'docs' - PY_VER: '3.12' runs-on: ubuntu-latest steps: - name: Checkout @@ -28,7 +27,7 @@ jobs: uses: actions/setup-python@v5 id: cp with: - python-version: ${{ env.PY_VER }} + python-version: '3.x' - name: Cache pip dependencies uses: actions/cache@v4 id: cache-py @@ -37,7 +36,7 @@ jobs: path: ${{ env.pythonLocation }} key: ${{ runner.os }}-pip-${{ steps.cp.outputs.python-version }}-${{ hashFiles('requirements.txt') }} - name: Install pip dependencies if cache miss - if: steps.cache-py.outputs.cache-hit != 'true' + if: ${{ steps.cache-py.outputs.cache-hit != 'true' }} run: pip install -r requirements.txt - name: Build website run: jupyter-book build ${DIR} --builder linkcheck diff --git a/.github/workflows/update-manifest.yml b/.github/workflows/update-manifest.yml index ae9b4b4..553c1dc 100644 --- a/.github/workflows/update-manifest.yml +++ b/.github/workflows/update-manifest.yml @@ -16,7 +16,6 @@ concurrency: env: APP_ID: '189113' # https://github.com/apps/wen-wei-s-pr-bot - JL_VER: '1' jobs: update-manifest: @@ -30,7 +29,7 @@ jobs: - name: Setup Julia uses: julia-actions/setup-julia@v1 with: - version: ${{ env.JL_VER }} + version: '1' - name: Update Julia dependencies env: JULIA_PKG_PRECOMPILE_AUTO: '0' diff --git a/docs/_config.yml b/docs/_config.yml index d225341..5ea93a3 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -62,7 +62,7 @@ launch_buttons: # Information about where the book exists on the web repository: - url: https://github.com/ww-jl/jl-dataframes # Online location of your book (GitHub is recommended) + url: https://github.com/sosiristseng/template-juliabook-parallel # Online location of your book (GitHub is recommended) path_to_book: docs # Optional path to your book, relative to the repository root branch: main # Which branch of the repository should be used when creating links (optional) diff --git a/requirements.txt b/requirements.txt index 6d69080..73e92e8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ -nbconvert==7.16.0 -matplotlib==3.8.2 +matplotlib==3.8.3 +nbconvert==7.16.2 jupyter-book==1.0.0