Skip to content

Commit

Permalink
Use GITHUB_OUTPUT
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelzw authored Aug 13, 2023
1 parent 5bf9202 commit 70d3c48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/autoupdate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
new_version=$(micromamba list -n check-env "$pkgname" --json | jq -r '.[0].version')
if [[ "$new_version" != "$old_version" ]]; then
sed -i "s/$old_version/$new_version/g" environment.yml
echo "::set-output name=pkgname::$pkgname"
echo "::set-output name=new-version::$new_version"
echo "pkgname=$pkgname" >> "$GITHUB_OUTPUT"
echo "new_version=$new_version" >> "$GITHUB_OUTPUT"
fi
- uses: peter-evans/create-pull-request@0dfc93c1049996241252d9dc45a270b7c12dec6b
if: steps.versions.outputs.pkgname
Expand Down

0 comments on commit 70d3c48

Please sign in to comment.