Skip to content

Commit

Permalink
MAINT: update github action versions (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcky authored Mar 22, 2024
1 parent 1a1be32 commit d7b9a97
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ jobs:
deploy-runner:
runs-on: ubuntu-latest
steps:
- uses: iterative/setup-cml@v1
- uses: actions/checkout@v3
- uses: iterative/setup-cml@v2
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Deploy runner on EC2
Expand All @@ -30,21 +30,21 @@ jobs:
image: docker://mmcky/quantecon-lecture-python:cuda-12.3.1-anaconda-2024-02-py311
options: --gpus all
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Build HTML
shell: bash -l {0}
run: |
jb build lectures --path-output ./ -W --keep-going
- name: Upload Execution Reports
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: failure()
with:
name: execution-reports
path: _build/html/reports
- name: Upload "_build" folder (cache)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-cache
path: _build
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ jobs:
run: |
jb build lectures --path-output ./ -n -W --keep-going
- name: Upload build folder
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: failure()
with:
name: _build
path: _build/
- name: Upload Execution Reports
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: failure()
with:
name: execution-reports
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ jobs:
deploy-runner:
runs-on: ubuntu-latest
steps:
- uses: iterative/setup-cml@v1
- uses: actions/checkout@v3
- uses: iterative/setup-cml@v2
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Deploy runner on EC2
Expand All @@ -32,7 +32,7 @@ jobs:
options: --gpus all
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
# Check nvidia-smi
- name: Check nvidia drivers
shell: bash -l {0}
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
run: |
jb build lectures --path-output ./ --builder=custom --custom-builder=jupyter -n -W --keep-going
zip -r download-notebooks.zip _build/jupyter
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: download-notebooks
path: download-notebooks.zip
Expand Down

0 comments on commit d7b9a97

Please sign in to comment.