oyarzun commented on pull request #3785:
URL: https://github.com/apache/netbeans/pull/3785#issuecomment-1072658964


   
   > @oyarzun I have a question, why did you change $OPTS to $env:OPTS? Is this 
valid syntax? (I changed it back when i merged the workflows into a matrix job 
since i had to pick one variant - but if that was intended i can change it back)
   
   @mbien According to the GitHub docs Windows uses powershell and the 
environment variables should use $env:VARNAME.
   
   
https://docs.github.com/en/actions/learn-github-actions/environment-variables#about-environment-variables
   
   >By default, Linux runners use the bash shell, so you must use the syntax 
$NAME. If the workflow specified a Windows runner, you would use the syntax for 
PowerShell, $env:NAME. 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to