Skip to content

Commit

Permalink
Merge pull request #61 from alphagov/set-output-deprecated
Browse files Browse the repository at this point in the history
Replace deprecated `set-output` with GITHUB_OUTPUT
  • Loading branch information
colinrotherham authored Jan 8, 2024
2 parents 4738cb2 + cc5af13 commit daa0dc9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ jobs:
- name: Establish version
run: |
LOCAL=$(node -p "require('./package.json').version")
echo "::set-output name=local::${LOCAL}"
echo "::set-output name=remote::$(npm view stylelint-config-gds version)"
echo "local=${LOCAL}" >> $GITHUB_OUTPUT
echo "remote=$(npm view stylelint-config-gds version)" >> $GITHUB_OUTPUT
if git ls-remote --tags --exit-code origin ${LOCAL}; then
echo "::set-output name=tagged::yes"
echo "tagged=yes" >> $GITHUB_OUTPUT
fi
id: version
- name: Tag version
Expand Down

0 comments on commit daa0dc9

Please sign in to comment.