Skip to content

Commit

Permalink
chore: fixed syntax error test stats action
Browse files Browse the repository at this point in the history
  • Loading branch information
kirrg001 committed May 13, 2024
1 parent 04cbfa2 commit ab67b83
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions .github/workflows/schedule-test-stats.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,30 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Execute stats
run: |
stats_output=$(node bin/gather-test-stats.js)
echo "::set-output name=stats::$stats_output"
- name: Checkout Repository
uses: actions/checkout@v2
- name: Execute stats
run: |
stats_output=$(node bin/gather-test-stats.js)
echo "::set-output name=stats::$stats_output"
- name: Send slack message
uses: slackapi/slack-github-action@v1.21.0
with:
channel-id: D02FE3BFEHG
payload: |
{
"text": "Node.js Test Stats",
"attachments": [{
"color": "good",
"fields": [
{
"title": "Result",
"value": "${{ steps.execute-stats.outputs.stats }}"
}
]
}]
}
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
- name: Send slack message
uses: slackapi/slack-github-action@v1.21.0
with:
channel-id: D02FE3BFEHG
payload: |
{
"text": "Node.js Test Stats",
"attachments": [{
"color": "good",
"fields": [
{
"title": "Result",
"value": "${{ steps.execute-stats.outputs.stats }}"
}
]
}]
}
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}

0 comments on commit ab67b83

Please sign in to comment.