Update build_updatexml.yml

This commit is contained in:
2025-12-16 20:16:56 -06:00
parent 62c4572b29
commit da4fed0839

View File

@@ -110,7 +110,8 @@ jobs:
run: | run: |
set -euo pipefail set -euo pipefail
python3 -c $'import os python3 - <<'PY'
import os
import xml.etree.ElementTree as ET import xml.etree.ElementTree as ET
from pathlib import Path from pathlib import Path
@@ -144,7 +145,7 @@ out_path.parent.mkdir(parents=True, exist_ok=True)
tree.write(out_path, encoding="utf-8", xml_declaration=True) tree.write(out_path, encoding="utf-8", xml_declaration=True)
print(f"Wrote: {out_path}") print(f"Wrote: {out_path}")
' PY
- name: Attach updates.xml to GitHub Release - name: Attach updates.xml to GitHub Release
if: ${{ github.event_name == 'release' || github.event.inputs.release_tag != '' }} if: ${{ github.event_name == 'release' || github.event.inputs.release_tag != '' }}