.gitea/workflows/release.yml aktualisiert
Some checks failed
Release Plugin / release (push) Failing after 5s

This commit is contained in:
2026-03-02 14:06:54 +01:00
parent b5ba3c46dc
commit 47197cd819

View File

@@ -211,17 +211,15 @@ jobs:
- name: Dispatch to Repository
run: |
XML_BLOCK="${{ steps.xmlblock.outputs.block }}"
JSON=$(jq -n \
--arg type "plugin-released" \
--arg plugin "${{ steps.cfg.outputs.name }}" \
--arg channel "${{ steps.info.outputs.channel }}" \
--arg xml "$XML_BLOCK" \
'{type:$type,payload:{plugin:$plugin,channel:$channel,xml_block:$xml}}')
curl -s -X POST \
-H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \
-H "Content-Type: application/json" \
"https://${{ vars.RELEASE_URL }}/api/v1/repos/${{ github.repository_owner }}/Repository/dispatches" \
-d "$JSON"
-d "{
\"type\": \"plugin-released\",
\"payload\": {
\"plugin\": \"${{ steps.cfg.outputs.name }}\",
\"channel\": \"${{ steps.info.outputs.channel }}\",
\"xml_block\": \"${{ steps.xmlblock.outputs.block }}\"
}
}"