1 Commits
Author SHA1 Message Date
beforegolive 1ec372142c fix(notify-all): 改 sibling action 用完整 URL(act_runner 0.2.11 不支持 ./relative)
lint / yamllint (push) Successful in 14s
2026-07-16 08:57:35 +08:00
+4 -4
View File
@@ -75,10 +75,10 @@ inputs:
runs: runs:
using: 'composite' using: 'composite'
steps: steps:
# 链式调用 sibling actionv1.1.0 tag 下的 notify-bark / notify-email # 链式调用 sibling action。act_runner 0.2.11 不支持 ./relative path
# 同仓库相对引用,避免每个 step 都走完整 URL + 重新拉一次仓库 # 必须用完整 URL。tag 跟 notify-all 自己同一个 tag,确保三个 action 自包含。
- name: Push to Bark - name: Push to Bark
uses: ./notify-bark uses: http://gitea:3000/gitea_admin/ci-actions/notify-bark@v1.1.1
with: with:
device_key: ${{ inputs.bark_device_key }} device_key: ${{ inputs.bark_device_key }}
server: ${{ inputs.bark_server }} server: ${{ inputs.bark_server }}
@@ -88,7 +88,7 @@ runs:
level: ${{ inputs.bark_level }} level: ${{ inputs.bark_level }}
- name: Send email - name: Send email
uses: ./notify-email uses: http://gitea:3000/gitea_admin/ci-actions/notify-email@v1.1.1
with: with:
smtp_host: ${{ inputs.smtp_host }} smtp_host: ${{ inputs.smtp_host }}
smtp_port: ${{ inputs.smtp_port }} smtp_port: ${{ inputs.smtp_port }}