Replace set-output usage with GITHUB_OUTPUT (#252)

* GitHub has deprecated set-output and now needs to add the content to the GITHUB_OUTPUT file

* Update tests too

* Fix tests and shell-format changes

* Revert yarn.lock changes
This commit is contained in:
Andrew Monshizadeh
2022-10-22 04:42:11 -04:00
committed by GitHub
parent faf78595b8
commit 2fde6fc18d
3 changed files with 154 additions and 113 deletions

View File

@@ -345,7 +345,7 @@ The steps in your workflow might look like this:
- name: Get last commit message
id: last-commit-message
run: |
echo "::set-output name=msg::$(git log -1 --pretty=%s)"
echo "msg=$(git log -1 --pretty=%s)" >> $GITHUB_OUTPUT
- uses: stefanzweifel/git-auto-commit-action@v4
with: