Skip to content

Try GHA build fixes #11

Try GHA build fixes

Try GHA build fixes #11

name: Build dev Win64 binary
on:
workflow_dispatch:
jobs:
build-dev-win64:
name: Build dev x64 Windows binary
runs-on: windows-2019
env:
BUILD_ARCH: x64
BUILD_LOGLEVEL: verbose
steps:
- uses: ilammy/setup-nasm@v1
- uses: MatteoH2O1999/setup-python@v1
id: py
with:
python-version: '2.7'
- uses: actions/checkout@v3
- run: npm install --production --ignore-scripts
- run: npm install --production
working-directory: nexe
# diagnose weird execution failure

Check failure on line 22 in .github/workflows/build-dev-win64.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-dev-win64.yml

Invalid workflow file

You have an error in your yaml syntax on line 22
- run: "C:\\Program Files\\Git\\usr\\bin\\sed" -i "s/child_process_1\\.spawn/this.log.step('Executing ' + command + ' ' + args); \\0/" node_modules/nexe/lib/compiler.js
working-directory: nexe
- run: node build
working-directory: nexe
- run: nexe\parpar.exe --version
- run: nexe\parpar.exe -r1 -s1M -o nexe\test.par2 nexe\parpar.exe
- run: move nexe\parpar.exe parpar.exe && 7z a -t7z -mx=9 parpar.7z parpar.exe
- uses: actions/upload-artifact@v3
with:
path: ./parpar.7z
name: parpar-${{ github.ref_name }}-win64.7z
retention-days: 5