Skip to content

Commit

Permalink
fix: replace deprecated set-output command
Browse files Browse the repository at this point in the history
  • Loading branch information
cibinmathew committed Aug 7, 2023
1 parent 2f5aa91 commit 0d67875
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
steps:
- name: Get current date
id: date
run: echo "::set-output name=current_date::$(date +'%Y-%m-%d')"
run: echo "current_date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT

- name: Check out main branch
uses: actions/checkout@v3
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
output="${output//'%'/'%25'}"
output="${output//$'\n'/'%0A'}"
output="${output//$'\r'/'%0D'}"
echo "::set-output name=change_summary::$output"
echo "change_summary=$output" >> $GITHUB_OUTPUT
working-directory: ./scripts

- name: Create PR
Expand Down

0 comments on commit 0d67875

Please sign in to comment.