Skip to content

Update test.yaml

Update test.yaml #4

Workflow file for this run

name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
# 其他步骤...
- name: Notify job status
if: always() # 确保这一步始终运行,不管之前的步骤是否成功
run: |
curl -X "POST" "https://api.day.app/a8BiVYYGe7sMfKWLBNNcCj" \
-H 'Content-Type: application/json; charset=utf-8' \
-d $'{
"body": "${{ job.status }}",
"title": "${{ github.repository }}",
"badge": 1,
"category": "Github Actions",
"sound": "minuet.caf",
"icon": "https://cdn-icons-png.flaticon.com/512/25/25231.png",
"group": "Github Actions"
}'