Skip to content

Commit

Permalink
feat: Update cache and multiversion docs actions
Browse files Browse the repository at this point in the history
  • Loading branch information
cicdguy committed Nov 5, 2024
1 parent 6417798 commit 97ce298
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-templates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Restore cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.staged.dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
shell: bash

- name: Restore cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.staged.dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lintr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
shell: bash

- name: Restore cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.staged.dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/man-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
shell: bash

- name: Restore cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.staged.dependencies
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,14 +128,14 @@ jobs:
fi
echo ${var}
}
R_VERSION=$(normalize ${{ inputs.r-version }} 4.1)
R_VERSION=$(normalize ${{ inputs.r-version }} 4.3)
DOCS_LANDING_PAGE=$(normalize ${{ inputs.multiversion-docs-landing-page }} main)
echo "R_VERSION=$R_VERSION" >> $GITHUB_OUTPUT
echo "DOCS_LANDING_PAGE=$DOCS_LANDING_PAGE" >> $GITHUB_OUTPUT
shell: bash

- name: Restore cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.staged.dependencies
Expand Down Expand Up @@ -297,7 +297,7 @@ jobs:
shell: bash

- name: Create and publish docs
uses: insightsengineering/r-pkgdown-multiversion@v2
uses: insightsengineering/r-pkgdown-multiversion@v3
with:
path: ${{ github.event.repository.name }}
default-landing-page: "${{ steps.normalizer.outputs.DOCS_LANDING_PAGE }}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/r-cmd-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
ref: ${{ steps.branch-name.outputs.head_ref_branch }}

- name: Restore cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.staged.dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/r-pkg-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
shell: bash

- name: Restore cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.staged.dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/readme-render.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
shell: bash

- name: Restore cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.staged.dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
ref: ${{ steps.branch-name.outputs.head_ref_branch }}

- name: Restore cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.staged.dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
shell: bash

- name: Restore cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.staged.dependencies
Expand Down

0 comments on commit 97ce298

Please sign in to comment.