|
|
@@ -2,7 +2,7 @@ name: Monitor Releases
|
|
|
|
|
|
on:
|
|
|
schedule:
|
|
|
- - cron: '0 0 * * *' # 每天零点执行
|
|
|
+ - cron: "0 0 * * *" # 每天零点执行
|
|
|
workflow_dispatch: # 手动触发
|
|
|
|
|
|
jobs:
|
|
|
@@ -22,7 +22,7 @@ jobs:
|
|
|
shell: bash
|
|
|
|
|
|
- name: Send Notification if New Release
|
|
|
- if: ${{ env.latest_release }} != github.ref
|
|
|
+ if: ${{ env.latest_release }} != ${{ github.ref }}
|
|
|
uses: dawidd6/action-send-mail@v3
|
|
|
with:
|
|
|
server_address: smtp.gmail.com
|