Skip to content

Commit

Permalink
FIX Don't use deprecated set-output (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Apr 27, 2023
1 parent 8701873 commit 1ed2e83
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ runs:
id: read-nvm
shell: bash
run: |
echo ::set-output name=version::$(cat .nvmrc)
echo "version=$(cat .nvmrc)" >> "$GITHUB_OUTPUT"
- name: Setup node
uses: actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # v3.3.0
Expand Down Expand Up @@ -52,8 +52,8 @@ runs:
TEST="false"
if [[ "$(jq .scripts.lint? package.json)" != "null" ]]; then LINT="true"; fi
if [[ "$(jq .scripts.test? package.json)" != "null" ]]; then TEST="true"; fi
echo "::set-output name=lint::$LINT"
echo "::set-output name=test::$TEST"
echo "lint=$LINT" >> "$GITHUB_OUTPUT"
echo "test=$TEST" >> "$GITHUB_OUTPUT"
echo "LINT is $LINT"
echo "TEST is $TEST"
Expand Down Expand Up @@ -141,7 +141,7 @@ runs:
CUT=$(echo $GITHUB_REF | cut -c 12-)
# e.g. pulls/1/update-js-1647810133
BRANCH=pulls/$CUT/update-js-$(date +%s)
echo ::set-output name=branch::$BRANCH
echo "branch=$BRANCH" >> "$GITHUB_OUTPUT"
- name: Git
if: always()
Expand Down

0 comments on commit 1ed2e83

Please sign in to comment.