Skip to content

Commit

Permalink
Update deprecated set-output GHA workflow syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
mondeja committed Apr 18, 2023
1 parent a14bd1a commit a213052
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
id: get-releases
run: |
simple_icons_version="$(curl --retry 5 -s https://api.github.com/repos/simple-icons/simple-icons/releases/latest | jq -r .tag_name)"
echo "::set-output name=si::$simple_icons_version"
echo "::set-output name=lib::$(cat package.json | grep '"version":' | cut -d'"' -f4)"
echo "si=$simple_icons_version" >> $GITHUB_OUTPUT
echo "lib=$(cat package.json | grep '"version":' | cut -d'"' -f4)" >> $GITHUB_OUTPUT
- name: Bump version
if: steps.get-releases.outputs.lib != steps.get-releases.outputs.si
run: |
Expand Down

0 comments on commit a213052

Please sign in to comment.