Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
feat: Test set-output
Browse files Browse the repository at this point in the history
  • Loading branch information
EnriqueSoria committed Nov 28, 2022
1 parent 69c5537 commit a99f7e9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,10 @@ branding:
runs:
using: "composite"
steps:
- run: python ${{ github.action_path }}/annotate_pr_with_ruff/main.py >> $GITHUB_STATE
- run: |
output=$(python ${{ github.action_path }}/annotate_pr_with_ruff/main.py)
output="${output//'%'/'%25'}"
output="${output//$'\n'/'%0A'}"
output="${output//$'\r'/'%0D'}"
echo "::set-output name=errors::$output"
shell: bash

0 comments on commit a99f7e9

Please sign in to comment.