MSBuild task that shouldn't run in CI
I've got an MSBuild task which I don't want to run in my pipelines. So I wrote the following:
because according to github, the
GITHUB_ACTIONS
env var should always be set by default in CI: https://docs.github.com/en/actions/learn-github-actions/variables#default-environment-variables
However, it still seems to run in my pipelines judging by the output. Am I doing something wrong?GitHub Docs
Variables - GitHub Docs
1 Reply
Think it might be because the build is in my docker file oops