C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,308 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I'm using a simple step in Github pipeline to build a project:
- name: Build Solution
run: |
msbuild.exe ${{ env.PROJ_PATH }} /p:Configuration=Release
I need this command to run in elevated mode. (e.g If I'd compile this project manually, I'd open Visual Studio as administrator.)
How can I do it in the command?
Thank You!
as the GitHub pipeline runs on linux, it is the sudo command. But you need the superuser password to use sudo. why would you need su permission for a build?