From f2b1decbf11016eddd675f3670877dbbc0d840bf Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Sun, 18 Aug 2024 17:21:31 +0200 Subject: [PATCH] XXX use ${{env.BUILD_TYPE}} --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 373a0fbcf..10a6b2cf6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -367,7 +367,7 @@ jobs: - name: Debug output run: Get-ChildItem -Path build -Force –Recurse - name: "Dryrun test (not installed)" - run: Write-Host "`n`n" -NoNewline | bash tools/test-avrdude -v -t $env:TEMP -e build/src/RelWithDebInfo/avrdude.exe -c "-C build/src/avrdude.conf" -d0 -p"-cdryrun -pm2560" -p"-cdryrun -pavr64du28" + run: Write-Host "`n`n" -NoNewline | bash tools/test-avrdude -v -t $env:TEMP -e build/src/${{env.BUILD_TYPE}}/avrdude.exe -c "-C build/src/avrdude.conf" -d0 -p"-cdryrun -pm2560" -p"-cdryrun -pavr64du28" # Installing requires non-existing python312_d.lib from swig_avrdude.vcxproj #- name: Install # run: cmake --build build --target install @@ -382,8 +382,8 @@ jobs: !**/*.obj - name: Move executables run: | - mv build/src/RelWithDebInfo/avrdude.exe build/src - mv build/src/RelWithDebInfo/avrdude.pdb build/src + mv build/src/${{env.BUILD_TYPE}}/avrdude.exe build/src + mv build/src/${{env.BUILD_TYPE}}/avrdude.pdb build/src - name: Archive executables uses: actions/upload-artifact@v3 with: