Skip to content

Commit d37fa8f

Browse files
authored
Merge pull request #61 from insightsengineering/replace-set-output
Replace `set-output`
2 parents 392bee4 + 3e3dab9 commit d37fa8f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

action.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ inputs:
2121
default: "all"
2222
report_output_prefix:
2323
description: >
24-
The output filename prefix for the validation report. If left blank,
25-
it defaults to the following convention:
26-
`<package name>-<package version>-validation-report`.
24+
The output filename prefix for the validation report. If left blank,
25+
it defaults to the following convention:
26+
`<package name>-<package version>-validation-report`.
2727
required: false
2828
default: ""
2929
additional_tlmgr_packages:
@@ -58,7 +58,7 @@ runs:
5858
steps:
5959
- name: Get R version
6060
id: r_version
61-
run: echo "::set-output name=R_VERSION::$(R --version | head -1 | awk '{print $3}')"
61+
run: echo "R_VERSION=$(R --version | head -1 | awk '{print $3}')" >> $GITHUB_OUTPUT
6262
shell: bash
6363

6464
- name: Set R Library home on Linux
@@ -72,7 +72,7 @@ runs:
7272
if: "contains(inputs.no_cache, 'false')"
7373
id: texlive_version
7474
run: |
75-
echo "::set-output name=TEX_LIVE_VERSION::$(tlmgr --version |tail -1 |awk '{print $NF}')"
75+
echo "TEX_LIVE_VERSION=$(tlmgr --version |tail -1 |awk '{print $NF}')" >> $GITHUB_OUTPUT
7676
shell: bash
7777

7878
- name: Cache R packages
@@ -110,7 +110,7 @@ runs:
110110
run: |
111111
${GITHUB_ACTION_PATH}/report-generator.R
112112
filename=$(basename $(cat /tmp/report_file_path.txt))
113-
echo "::set-output name=output-filename::${filename}"
113+
echo "output-filename=${filename}" >> $GITHUB_OUTPUT
114114
shell: bash
115115
env:
116116
# Composite action doesn't set inputs as env vars.

0 commit comments

Comments
 (0)