Updater 3.4 – Lifecycle Hardening #28
+13
-13
@@ -242,7 +242,7 @@ jobs:
|
||||
name: Worker34 PowerShell-5.1-Kompatibilität reparieren
|
||||
if: github.ref == 'refs/heads/feature/updater-3.4-lifecycle' || github.event.pull_request.head.ref == 'feature/updater-3.4-lifecycle'
|
||||
permissions:
|
||||
contents: write
|
||||
contents: read
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
@@ -282,7 +282,7 @@ jobs:
|
||||
worker.write_text('\ufeff' + text, encoding='utf-8', newline='\n')
|
||||
print(f'Korrigiert: {foreach_count} foreach-Konstruktionen, {in_operator_count} -in-Operatoren.')
|
||||
|
||||
- name: Temporären Reparaturjob entfernen und Manifest neu erzeugen
|
||||
- name: Temporären Reparaturjob aus Exportdatei entfernen
|
||||
shell: python
|
||||
run: |
|
||||
from pathlib import Path
|
||||
@@ -294,16 +294,16 @@ jobs:
|
||||
raise SystemExit(f'Temporärer Reparaturmarker nicht eindeutig: {text.count(marker)}')
|
||||
ci.write_text(text.split(marker, 1)[0].rstrip() + '\n', encoding='utf-8', newline='\n')
|
||||
|
||||
- name: Release-Manifest aus dem finalen Baum erzeugen
|
||||
- name: Release-Manifest aus dem finalen Exportbaum erzeugen
|
||||
run: node tools/generate-release-manifest.mjs .
|
||||
|
||||
- name: Reparatur committen
|
||||
shell: bash
|
||||
run: |
|
||||
set -euo pipefail
|
||||
git diff --check
|
||||
git config user.name 'vendoo-updater-build'
|
||||
git config user.email 'vendoo-updater-build@users.noreply.github.com'
|
||||
git add --all
|
||||
git commit -m 'fix: make Worker34 compatible with Windows PowerShell 5.1'
|
||||
git push origin HEAD:feature/updater-3.4-lifecycle
|
||||
- name: Bereinigte Reparaturdateien sichern
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: worker34-parser-repair-${{ github.event.pull_request.head.sha || github.sha }}
|
||||
path: |
|
||||
scripts/updater/Vendoo.Updater.Worker34.ps1
|
||||
.github/workflows/ci.yml
|
||||
release-manifest.json
|
||||
if-no-files-found: error
|
||||
retention-days: 14
|
||||
|
||||
Reference in New Issue
Block a user