Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump all actions versions and use ubuntu latest runners #150

Merged
merged 2 commits into from
Mar 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/actions/buildresources/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ runs:
steps:
- name: Setup JupyterBook Cache
if: inputs.jb-cache == 'true'
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ./book/_build
# NOTE: change key to "jupyterbook-N+1" to force rebuilding cache
Expand Down Expand Up @@ -52,7 +52,7 @@ runs:

- name: Save Build
if: ${{ always() && inputs.jb-save == 'true'}}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build
path: book/_build/
Expand Down
38 changes: 0 additions & 38 deletions .github/workflows/binder-badge.yaml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/build_website.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ on:
pull_request_target:
types: [labeled, synchronize]
paths:
- '.github/**'
- '.github/**/*'
- '{{ cookiecutter.repo_directory }}/**'
- 'book/**'
- 'book/**/*'
- 'conda/**'
- 'scripts/**'
- 'cookiecutter.yaml'
Expand All @@ -31,7 +31,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}

Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,18 @@ on:
- '{{ cookiecutter.repo_directory }}/**'
- 'scripts/**'
- '.github/workflows/deploy.yaml'
- '.github/actions/**'
- 'cookiecutter.yaml'

branches:
- main

jobs:
build-and-deploy:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Configure NASA Earthdata Login
continue-on-error: true
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/manual.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ on:

jobs:
build-and-test:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Configure NASA Earthdata Login
continue-on-error: true
env:
Expand All @@ -19,7 +19,7 @@ jobs:
run: |
echo "machine urs.earthdata.nasa.gov login $EARTHDATA_USER password $EARTHDATA_PASS" > ~/.netrc
chmod 0600 ~/.netrc

- uses: ./.github/actions/buildresources
with:
jb-cache: false
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/netlifypreview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ on:

jobs:
add-preview:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
# This workflow accesses secrets and checks out a PR, so only run if labelled
# https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
if: contains(github.event.pull_request.labels.*.name, 'preview')

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}

Expand All @@ -34,7 +34,7 @@ jobs:

- name: Deploy Website Preview
if: always()
uses: nwtgck/actions-netlify@v2.0
uses: nwtgck/actions-netlify@v3.0
with:
publish-dir: './book/_build/html'
production-deploy: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/qaqc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
quality-control:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
Expand Down
30 changes: 0 additions & 30 deletions .github/workflows/repo2docker-PR.yaml

This file was deleted.

46 changes: 0 additions & 46 deletions .github/workflows/repo2docker.yaml

This file was deleted.

Loading