From 321d294b657b5a153cccee887adbbb06d381ebaf Mon Sep 17 00:00:00 2001 From: Scott Henderson Date: Fri, 17 May 2024 17:02:36 -0700 Subject: [PATCH] update actions steps --- .github/workflows/main.yaml | 10 +++++----- .github/workflows/preview.yaml | 6 +++--- .github/workflows/qaqc.yaml | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 466e782b..40d0c1e7 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -23,14 +23,14 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup JupyterBook Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: _build # NOTE: change key to "jupyterbook-DATE" to force rebuilding cache - key: jupyterbook-20230707 + key: jupyterbook-20240517 - name: Install Conda environment with Micromamba uses: mamba-org/setup-micromamba@v1 @@ -52,14 +52,14 @@ jobs: - name: Save Build if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: build path: _build/ - name: Publish to GitHub Pages if: github.ref == 'refs/heads/main' - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: _build/html diff --git a/.github/workflows/preview.yaml b/.github/workflows/preview.yaml index 6a02c3bf..c80a8ce6 100644 --- a/.github/workflows/preview.yaml +++ b/.github/workflows/preview.yaml @@ -14,14 +14,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup JupyterBook Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: _build # NOTE: change key to "jupyterbook-DATE" to force rebuilding cache - key: jupyterbook-20230707 + key: jupyterbook-20240517 - name: Install Conda environment with Micromamba uses: mamba-org/setup-micromamba@v1 diff --git a/.github/workflows/qaqc.yaml b/.github/workflows/qaqc.yaml index 9bdbe69a..8686b7b4 100644 --- a/.github/workflows/qaqc.yaml +++ b/.github/workflows/qaqc.yaml @@ -17,7 +17,7 @@ jobs: shell: bash -el {0} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Conda environment with Micromamba uses: mamba-org/setup-micromamba@v1