From b5fe3f1e5910992d66f7dc758fbfe8d263a7d323 Mon Sep 17 00:00:00 2001 From: Adina Wagner Date: Mon, 23 Sep 2024 14:03:45 +0200 Subject: [PATCH 1/2] update workflow to current version used in upstream carpentries example lesson --- .github/workflows/website.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index d351e68..19b3620 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -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 @@ -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 From b99f191bc7666082ffbe0546412b03b2f534ea5a Mon Sep 17 00:00:00 2001 From: Adina Wagner Date: Mon, 23 Sep 2024 14:04:05 +0200 Subject: [PATCH 2/2] Remove lesson check target from workflow --- .github/workflows/website.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 19b3620..231ca88 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -119,5 +119,3 @@ jobs: # return cd .. - - run: make lesson-check-all - if: always()