Skip to content

Commit

Permalink
Issue checkstyle#12995: Remove usages of append-to-github-output for …
Browse files Browse the repository at this point in the history
…non-multiline strings
  • Loading branch information
nrmancuso committed Apr 18, 2023
1 parent ba6a74d commit 4755313
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/diff-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,30 +77,30 @@ jobs:
run: |
grep "^Diff Regression projects:" text | cat > temp
sed 's/Diff Regression projects: //' temp > projects_link
./.ci/append-to-github-output.sh "projects_link" "$(cat projects_link)"
echo "projects_link=$(cat projects_link)" >> $GITHUB_OUTPUT
grep "^Diff Regression config:" text | cat > temp
sed 's/Diff Regression config: //' temp > config_link
./.ci/append-to-github-output.sh "config_link" "$(cat config_link)"
echo "config_link=$(cat config_link)" >> $GITHUB_OUTPUT
grep "^New module config:" text | cat > temp
sed 's/New module config: //' temp > new_module_config_link
./.ci/append-to-github-output.sh "new_module_config_link" "$(cat new_module_config_link)"
echo "new_module_config_link=$(cat new_module_config_link)" >> $GITHUB_OUTPUT
grep "^Diff Regression patch config:" text | cat > temp
sed 's/Diff Regression patch config: //' temp > patch_config_link
./.ci/append-to-github-output.sh "patch_config_link" "$(cat patch_config_link)"
echo "patch_config_link=$(cat patch_config_link)" >> $GITHUB_OUTPUT
grep "^Report label:" text | cat > temp
sed 's/Report label: //' temp > report_label
./.ci/append-to-github-output.sh "report_label" "$(cat report_label)"
echo "report_label=$(cat report_label)" >> $GITHUB_OUTPUT
- name: Set branch
id: branch
run: |
./.ci/append-to-github-output.sh "ref" "$(cat branch)"
echo "ref=$(cat branch)" >> $GITHUB_OUTPUT
# shellcheck disable=SC2002
./.ci/append-to-github-output.sh "commit_sha" "$(cat commit_sha | cut -c 1-7)"
echo "commit_sha=$(cat commit_sha | cut -c 1-7)" >> $GITHUB_OUTPUT
echo "GITHUB_OUTPUT:"
# need to 'echo' to see output in Github CI
Expand Down

0 comments on commit 4755313

Please sign in to comment.