Syntax release.yml korrigiert ...
Some checks failed
Release Plugin / release (push) Failing after 5s

This commit is contained in:
Michael Otto
2026-03-02 11:12:08 +01:00
parent 9a0f34d08c
commit 5d194fe628

View File

@@ -1,3 +1,4 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Release Plugin
on:
@@ -143,28 +144,28 @@ jobs:
echo "download_url=${DOWNLOAD_URL}" >> $GITHUB_OUTPUT
- name: Build XML block
id: xmlblock
run: |
NAME="${{ steps.cfg.outputs.name }}"
VERSION="${{ steps.info.outputs.version }}"
id: xmlblock
run: |
NAME="${{ steps.cfg.outputs.name }}"
VERSION="${{ steps.info.outputs.version }}"
BLOCK=$(printf ' <pyqgis_plugin name="%s" version="%s">\n <description>%s</description>\n <qgisMinimumVersion>%s</qgisMinimumVersion>\n <qgisMaximumVersion>%s</qgisMaximumVersion>\n <author>%s</author>\n <email>%s</email>\n <homepage>%s</homepage>\n <tracker>%s</tracker>\n <repository>%s</repository>\n <download_url>%s</download_url>\n <experimental>%s</experimental>\n <deprecated>%s</deprecated>\n </pyqgis_plugin>' \
"$NAME" \
"$VERSION" \
"${{ steps.cfg.outputs.description }}" \
"${{ steps.cfg.outputs.qgis_min }}" \
"${{ steps.cfg.outputs.qgis_max }}" \
"${{ steps.cfg.outputs.author }}" \
"${{ steps.cfg.outputs.email }}" \
"${{ steps.cfg.outputs.homepage }}" \
"${{ steps.cfg.outputs.tracker }}" \
"${{ steps.cfg.outputs.repository }}" \
"${{ steps.download_url.outputs.download_url }}" \
"${{ steps.cfg.outputs.experimental }}" \
"${{ steps.cfg.outputs.deprecated }}")
BLOCK=$(printf ' <pyqgis_plugin name="%s" version="%s">\n <description>%s</description>\n <qgisMinimumVersion>%s</qgisMinimumVersion>\n <qgisMaximumVersion>%s</qgisMaximumVersion>\n <author>%s</author>\n <email>%s</email>\n <homepage>%s</homepage>\n <tracker>%s</tracker>\n <repository>%s</repository>\n <download_url>%s</download_url>\n <experimental>%s</experimental>\n <deprecated>%s</deprecated>\n </pyqgis_plugin>' \
"$NAME" \
"$VERSION" \
"${{ steps.cfg.outputs.description }}" \
"${{ steps.cfg.outputs.qgis_min }}" \
"${{ steps.cfg.outputs.qgis_max }}" \
"${{ steps.cfg.outputs.author }}" \
"${{ steps.cfg.outputs.email }}" \
"${{ steps.cfg.outputs.homepage }}" \
"${{ steps.cfg.outputs.tracker }}" \
"${{ steps.cfg.outputs.repository }}" \
"${{ steps.download_url.outputs.download_url }}" \
"${{ steps.cfg.outputs.experimental }}" \
"${{ steps.cfg.outputs.deprecated }}")
BLOCK_ESCAPED=$(printf '%s' "$BLOCK" | sed 's/"/\\"/g')
echo "block=${BLOCK_ESCAPED}" >> $GITHUB_OUTPUT
BLOCK_ESCAPED=$(printf '%s' "$BLOCK" | sed 's/"/\\"/g')
echo "block=${BLOCK_ESCAPED}" >> $GITHUB_OUTPUT
- name: Dispatch to Repository
run: |