Skip to content

Bump dawidd6/action-download-artifact from 7 to 8 #455

Bump dawidd6/action-download-artifact from 7 to 8

Bump dawidd6/action-download-artifact from 7 to 8 #455

Workflow file for this run

name: link-checker
on:
pull_request:
workflow_dispatch:
schedule:
- cron: '30 0 * * SUN' # Sunday “At 00:30”
jobs:
link-checker:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
if: github.repository == 'brian-rose/ClimateLaboratoryBook'
steps:
- name: Cancel previous runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v4
- name: Setup Miniforge
uses: conda-incubator/setup-miniconda@v3
with:
miniforge-version: latest
activate-environment: book-render
- name: Set cache date
run: echo "DATE=$(date +'%Y%m%d')" >> $GITHUB_ENV
- uses: actions/cache@v4
with:
path: /usr/share/miniconda3/envs/book-render
key: linux-64-conda-${{ hashFiles('render-environment.yml') }}-${{ env.DATE }}-${{ env.CACHE_NUMBER }}
id: cache
- name: Update environment
if: steps.cache.outputs.cache-hit != 'true'
run: conda env update -n book-render -f render-environment.yml
- name: Check external links
run: |
jupyter-book build --builder linkcheck .