Stop logging GITHUB_ENV on action run?

After running an action I’ve created that adds some secrets to the GITHUB_ENV environment variable, in subsequent actions those secrets are showing up as plaintext. I believe this is a recent change, because from what I remember only the with arguments used to be printed to the logs, but now env does as well. Since env has secrets we are using, is there any way to disable that logging?