Skip to content

Commit

Permalink
Update github output syntax (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
max-lobur authored May 1, 2023
1 parent 5b2036b commit 66b41b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions github/slash-command-dispatch/docs/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: |
branch=${{ github.event.client_payload.slash_command.args.named.branch }}
if [[ -z "$branch" ]]; then branch="main"; fi
echo ::set-output name=branch::$branch
echo "branch=$branch" >> $GITHUB_OUTPUT
# Checkout the branch to test
- uses: actions/checkout@v3
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
run: |
branch=${{ github.event.client_payload.slash_command.args.named.branch }}
if [[ -z "$branch" ]]; then branch="main"; fi
echo ::set-output name=branch::$branch
echo "branch=$branch" >> $GITHUB_OUTPUT
# Checkout the branch to test
- uses: actions/checkout@v3
Expand Down Expand Up @@ -264,7 +264,7 @@ jobs:
# Execute black in check mode
- name: Black
id: black
run: echo ::set-output name=format::$(black --check --quiet . || echo "true")
run: echo 'format=$(black --check --quiet . || echo "true")' >> $GITHUB_OUTPUT

# Execute black and commit the change to the PR branch
- name: Commit to the PR branch
Expand Down

0 comments on commit 66b41b5

Please sign in to comment.