diff --git a/notify-all/action.yml b/notify-all/action.yml index acb12a1..398af7e 100644 --- a/notify-all/action.yml +++ b/notify-all/action.yml @@ -75,10 +75,10 @@ inputs: runs: using: 'composite' steps: - # 链式调用 sibling action(v1.1.0 tag 下的 notify-bark / notify-email) - # 同仓库相对引用,避免每个 step 都走完整 URL + 重新拉一次仓库 + # 链式调用 sibling action。act_runner 0.2.11 不支持 ./relative path, + # 必须用完整 URL。tag 跟 notify-all 自己同一个 tag,确保三个 action 自包含。 - name: Push to Bark - uses: ./notify-bark + uses: http://gitea:3000/gitea_admin/ci-actions/notify-bark@v1.1.1 with: device_key: ${{ inputs.bark_device_key }} server: ${{ inputs.bark_server }} @@ -88,7 +88,7 @@ runs: level: ${{ inputs.bark_level }} - name: Send email - uses: ./notify-email + uses: http://gitea:3000/gitea_admin/ci-actions/notify-email@v1.1.1 with: smtp_host: ${{ inputs.smtp_host }} smtp_port: ${{ inputs.smtp_port }}