lukka / run-vcpkg

The GitHub Action to setup vcpkg for your C++ based projects. Stores built ports using Binary Caching backed onto GH Cache.
MIT License
196 stars 26 forks source link

add ability to specify features when `runVcpkgInstall: 'true'` #236

Closed ekoby closed 1 month ago

ekoby commented 3 months ago

this would add --x-feature options to vcpkg command invocation

lukka commented 3 months ago

@ekoby it is already possible by modifying the runVcpkgFormatString parameter at https://github.com/lukka/run-vcpkg/blob/66b1ea8d89609e8adecfeb38797f4479f447a374/action.yml#L51 That is the default value, you can set it to your own value in your workflow.

ekoby commented 3 months ago

Yes, I found that. Still, it would be nice to be able to append to default instead of stomping on it (in case it ever changes)

lukka commented 2 months ago

@ekoby let me know if you succeeded in using custom arguments when running vcpkg install.

ekoby commented 2 months ago

Yes, thanks! that worked fine.

lukka commented 1 month ago

Closing as solved by using the suggestion at https://github.com/lukka/run-vcpkg/issues/236#issuecomment-2332150403