diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 5e36c7a..8ff79a5 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -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"