From e70bb9b3e53aa787d5ac5696481ae54bcb066707 Mon Sep 17 00:00:00 2001 From: Masterluke77 <163446896+Masterluke77@users.noreply.github.com> Date: Fri, 10 Jul 2026 16:11:10 +0200 Subject: [PATCH] ci: remove final typed-catch repair job --- .github/workflows/ci.yml | 51 ---------------------------------------- 1 file changed, 51 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 86df1fc..2787be6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -236,54 +236,3 @@ jobs: release-output/*.zip.sha256 if-no-files-found: error retention-days: 14 - - # BEGIN TEMP TYPED CATCH REPAIR - repair-typed-catch: - name: Worker34 typisierten Catch reparieren - if: github.event.pull_request.head.ref == 'feature/updater-3.4-lifecycle' - permissions: - contents: write - runs-on: ubuntu-latest - timeout-minutes: 10 - steps: - - name: Branch auschecken - uses: actions/checkout@v6 - with: - ref: feature/updater-3.4-lifecycle - fetch-depth: 0 - - - name: Typisierten Catch PowerShell-5.1-kompatibel schreiben - shell: python - run: | - from pathlib import Path - worker = Path('scripts/updater/Vendoo.Updater.Worker34.ps1') - text = worker.read_text(encoding='utf-8-sig') - old = '}catch[System.OperationCanceledException]{' - new = '} catch [System.OperationCanceledException] {' - if text.count(old) != 1: - raise SystemExit(f'Typed-Catch-Anker nicht eindeutig: {text.count(old)}') - worker.write_text('\ufeff' + text.replace(old, new), encoding='utf-8', newline='\n') - - - name: Temporären Job lokal aus CI entfernen - shell: python - run: | - from pathlib import Path - ci = Path('.github/workflows/ci.yml') - text = ci.read_text(encoding='utf-8') - marker = '\n # BEGIN TEMP TYPED CATCH REPAIR\n' - if text.count(marker) != 1: - raise SystemExit(f'Temporärer Marker nicht eindeutig: {text.count(marker)}') - ci.write_text(text.split(marker, 1)[0].rstrip() + '\n', encoding='utf-8', newline='\n') - - - name: Manifest gegen finalen Baum erzeugen - run: node tools/generate-release-manifest.mjs . - - - name: Worker und Manifest committen - shell: bash - run: | - set -euo pipefail - git config user.name 'vendoo-updater-build' - git config user.email 'vendoo-updater-build@users.noreply.github.com' - git add scripts/updater/Vendoo.Updater.Worker34.ps1 release-manifest.json - git commit -m 'fix: make typed Worker34 catch PowerShell 5.1 compatible' - git push origin HEAD:feature/updater-3.4-lifecycle