Skip to content

Commit

Permalink
Updates versions of GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
edgararuiz committed Oct 30, 2024
1 parent b2ac2e2 commit 9e6b524
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-r@v2 # https://github.com/r-lib/actions/issues/374
- uses: r-lib/actions/setup-pandoc@v1
with:
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
shell: Rscript {0}

- name: Cache R Packages
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ${{ env.R_LIBS_USER }}
key: ${{ hashFiles('.github/R-version') }}-${{ hashFiles('.github/pkg-versions.Rds') }}-${{ hashFiles('.github/pkg-deps.Rds') }}
Expand All @@ -62,7 +62,7 @@ jobs:
shell: Rscript {0}

- name: Cache Build Artifacts
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: /tmp/_posts
key: ${{ hashFiles('.github/pandoc-version') }}-${{ hashFiles('.github/R-version') }}-${{ hashFiles('.github/pkg-versions.Rds') }}-${{ hashFiles('.github/pkg-deps.Rds') }}
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
mkdir ai-blog-preview
mv docs ai-blog-preview/ai-blog-preview
- name: Upload Preview Directory as GitHub Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: github.ref != 'refs/heads/main'
with:
name: ai-blog-preview
Expand Down

1 comment on commit 9e6b524

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.