Skip to content

Commit

Permalink
update workflow to current version used in upstream carpentries examp…
Browse files Browse the repository at this point in the history
…le lesson
  • Loading branch information
adswa committed Sep 23, 2024
1 parent 5d9bbc0 commit b5fe3f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
ruby-version: '3.0'
bundler-cache: true

- name: Set up Python
Expand All @@ -44,7 +44,7 @@ jobs:
- name: Look for R-markdown files
id: check-rmd
run: |
echo "::set-output name=count::$(shopt -s nullglob; files=($(find . -iname '*.Rmd')); echo ${#files[@]})"
echo "count=$(shopt -s nullglob; files=($(find . -iname '*.Rmd')); echo ${#files[@]})" >> $GITHUB_OUTPUT
- name: Set up R
if: steps.check-rmd.outputs.count != 0
Expand Down

0 comments on commit b5fe3f1

Please sign in to comment.