Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
chore: Resolve set-output deprecations
Browse files Browse the repository at this point in the history
CI gives this warning:
```
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files.
```

Migration guide is located here:
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
  • Loading branch information
nikeee committed May 17, 2023
1 parent 99d41a2 commit cd0a866
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bench_analyzer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
comment="${comment//'%'/'%25'}"
comment="${comment//$'\n'/'%0A'}"
comment="${comment//$'\r'/'%0D'}"
echo "::set-output name=comment::$comment"
echo "comment=$comment" >> $GITHUB_STATE
- name: Write a new comment
uses: peter-evans/create-or-update-comment@v1.4.5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bench_formatter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
comment="${comment//'%'/'%25'}"
comment="${comment//$'\n'/'%0A'}"
comment="${comment//$'\r'/'%0D'}"
echo "::set-output name=comment::$comment"
echo "comment=$comment" >> $GITHUB_STATE
- name: Write a new comment
uses: peter-evans/create-or-update-comment@v1.4.5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bench_parser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
comment="${comment//'%'/'%25'}"
comment="${comment//$'\n'/'%0A'}"
comment="${comment//$'\r'/'%0D'}"
echo "::set-output name=comment::$comment"
echo "comment=$comment" >> $GITHUB_STATE
- name: Write a new comment
uses: peter-evans/create-or-update-comment@v1.4.5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/parser_conformance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
comment="${comment//'%'/'%25'}"
comment="${comment//$'\n'/'%0A'}"
comment="${comment//$'\r'/'%0D'}"
echo "::set-output name=comment::$comment"
echo "comment=$comment" >> $GITHUB_STATE
- name: Get the PR number
if: github.event_name == 'pull_request'
Expand Down

0 comments on commit cd0a866

Please sign in to comment.