Skip to content

Commit fe10a72

Browse files
committed
switch to new output command
this will fix #642
1 parent 036a455 commit fe10a72

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ jobs:
127127
id: check-rmd
128128
working-directory: lesson
129129
run: |
130-
echo "::set-output name=count::$(shopt -s nullglob; files=($(find . -iname '*.Rmd')); echo ${#files[@]})"
130+
echo "count=$(shopt -s nullglob; files=($(find . -iname '*.Rmd')); echo ${#files[@]})" >> $GITHUB_OUTPUT
131131
132132
- name: Set up R
133133
if: steps.check-rmd.outputs.count != 0

.github/workflows/website.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Look for R-markdown files
4545
id: check-rmd
4646
run: |
47-
echo "::set-output name=count::$(shopt -s nullglob; files=($(find . -iname '*.Rmd')); echo ${#files[@]})"
47+
echo "count=$(shopt -s nullglob; files=($(find . -iname '*.Rmd')); echo ${#files[@]})" >> $GITHUB_OUTPUT
4848
4949
- name: Set up R
5050
if: steps.check-rmd.outputs.count != 0

0 commit comments

Comments
 (0)