Skip to content

Commit d4641d0

Browse files
authored
Merge pull request #21 from cvmfs-contrib/set-output-to-GITHUB_OUTPUT
fix: replace set-output with $GITHUB_OUTPUT
2 parents ad0582d + 2e508c8 commit d4641d0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -338,11 +338,11 @@ runs:
338338
- id: lsb-release
339339
run: |
340340
source /etc/lsb-release
341-
echo "::set-output name=id::${DISTRIB_ID}"
342-
echo "::set-output name=release::${DISTRIB_RELEASE}"
343-
echo "::set-output name=codename::${DISTRIB_CODENAME}"
344-
echo "::set-output name=description::${DISTRIB_DESCRIPTION}"
345-
echo "::set-output name=id-release::${DISTRIB_ID}-${DISTRIB_DESCRIPTION}"
341+
echo "id=${DISTRIB_ID}" >> $GITHUB_OUTPUT
342+
echo "release=${DISTRIB_RELEASE}" >> $GITHUB_OUTPUT
343+
echo "codename=${DISTRIB_CODENAME}" >> $GITHUB_OUTPUT
344+
echo "description=${DISTRIB_DESCRIPTION}" >> $GITHUB_OUTPUT
345+
echo "id-release=${DISTRIB_ID}-${DISTRIB_DESCRIPTION}" >> $GITHUB_OUTPUT
346346
shell: bash
347347
- uses: actions/cache@v3
348348
with:

0 commit comments

Comments
 (0)