1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-keygen synced 2026-06-20 09:56:45 +02:00

.github/workflows/package.yml: fixing windows build (must have --config Release everywhere)

This commit is contained in:
Henrik Hautakoski 2020-04-26 10:42:33 +02:00
parent beeba58cee
commit 6f1359444a

View file

@ -68,13 +68,10 @@ jobs:
- name: Configure
run: cmake -A ${{matrix.arch}} -DCOMPONENT_GUI=ON -DCOMPONENT_CLI=ON -D CMAKE_BUILD_TYPE=Release -D CPACK_GENERATOR=NSIS -S . -B build
- name: Build
run: cmake --build build --config Release
- name: Package
id: package
run: |
cmake --build build --target package
cmake --build build --config Release --target package
$FILE=(ls build/*.exe)
echo "::set-output name=filename::$FILE"
echo "::set-output name=name::$(([io.fileinfo]"$FILE").basename).exe"