Add -i option to mimic GNU patch more and collect coverage for subprocesses #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build patch.exe for Windows | ||
| on: | ||
| workflow_dispatch: | ||
| jobs: | ||
| windows-exe: | ||
| name: Create windows executable | ||
| runs-on: windows-latest | ||
| steps: | ||
| - uses: ilammy/msvc-dev-cmd@v1 | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: 3.12 | ||
| architecture: x64 | ||
| - uses: Nuitka/Nuitka-Action@main | ||
| with: | ||
| nuitka-version: main | ||
| script-name: patch_ng.py | ||
| mode: onefile | ||
| output-dir: build | ||
| output-file: patch.exe | ||
| - uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: exe | ||
| path: build/patch.exe | ||
| include-hidden-files: true | ||