Skip to content

Commit

Permalink
ci: update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
vchirikov committed Oct 24, 2022
1 parent ebbba98 commit 1841473
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/comments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ jobs:
branch=$(git rev-parse --abbrev-ref HEAD);
echo -e "\033[38;5;113;48;5;16m sha: $sha \033[0m"
echo -e "\033[38;5;113;48;5;16m branch: $branch \033[0m"
echo "::set-output name=sha::$sha"
echo "::set-output name=branch::$branch"
echo "sha=$sha" >> $GITHUB_OUTPUT
echo "branch=$branch" >> $GITHUB_OUTPUT
- name: Report failed
if: ${{ failure() }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
sha=$(git rev-parse HEAD)
echo "GITHUB_SHA=$sha" >> $GITHUB_ENV
echo "GITHUB_SHA=$sha" >> .env
branch=$(git rev-parse --abbrev-ref HEAD)``
branch=$(git rev-parse --abbrev-ref HEAD)
echo "GITHUB_REF=refs/heads/$branch" >> $GITHUB_ENV
echo "GITHUB_REF=refs/heads/$branch" >> .env
echo -e "\033[38;5;99;5;16msha: $sha\033[0m"
Expand Down Expand Up @@ -158,6 +158,7 @@ jobs:
out="${out//'%'/'%25'}" ; out="${out//$'\n'/'%0A'}" ; out="${out//$'\r'/'%0D'}"
echo "out=$out" >> $GITHUB_OUTPUT
summary=$(cat $GITHUB_STEP_SUMMARY)
echo $summary
summary="${summary//'%'/'%25'}" ; summary="${summary//$'\n'/'%0A'}" ; summary="${summary//$'\r'/'%0D'}"
echo "summary=$summary" >> $GITHUB_OUTPUT
exec 4>&- || true
Expand Down

0 comments on commit 1841473

Please sign in to comment.