Skip to content

Commit

Permalink
Update bookdown-build-from-desc-and-deploy.yml
Browse files Browse the repository at this point in the history
Mise à jour des github action et fix typo GITHUB_OUTPUT
  • Loading branch information
jengelaere authored Dec 5, 2023
1 parent 11d5506 commit 8928738
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/bookdown-build-from-desc-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
steps:
- id : lower_repo
name: set lower case repo name (Bug when repository is in UPPERCASE)
run: echo "name=image_repository::$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]')" >> $GITHUB_OUTPUT
run: echo "image_repository=$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]')" >> $GITHUB_OUTPUT
bookdown:
name: Build and deploy bookdown
runs-on: ubuntu-latest
Expand All @@ -25,7 +25,7 @@ jobs:
needs: get-image-repository
container: ghcr.io/${{ needs.get-image-repository.outputs.image_repository }}-${{ inputs.r_version }}:latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Install remotes
run: Rscript -e 'install.packages("remotes")'
Expand All @@ -34,7 +34,7 @@ jobs:
run: Rscript -e 'remotes::install_deps(dependencies = TRUE)'

- name: Cache bookdown results
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: _bookdown_files
key: bookdown-${{ hashFiles('**/*Rmd') }}
Expand Down

0 comments on commit 8928738

Please sign in to comment.