From 3e262fae641eb516ff4026875c2f730ce0190a15 Mon Sep 17 00:00:00 2001 From: osborn Date: Wed, 25 Mar 2020 20:14:21 +0800 Subject: [PATCH] Update publish.yml --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4bc1a68c..7681e624 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -54,9 +54,9 @@ jobs: BINTARY_APIKEY: ${{ secrets.BINTARY_APIKEY }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: dingtalk - uses: JantHsueh/webrequest-action@master + uses: satak/webrequest-action@master with: url: ${{ secrets.dingtalk_webhook }} method: POST - payload: '{"msgtype": "text", "text": {"content": "Doric version ${{GITHUB_REF}} released."}}' + payload: '{"msgtype": "text", "text": {"content": "Doric version ${{env.GITHUB_REF:11}} released."}}' headers: '{"Content-Type": "application/json"}'