You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Solution to issue cannot be found in the documentation.
I checked the documentation.
Issue
Since #1701, and version 3.23.0, enabling storage of the conda build artifacts causes a failure on Azure + Windows during the "Prepare conda build artifacts" step, producing the error message "The syntax of the command is incorrect." See example.
The syntax error comes from the fact that %GITHUB_OUTPUT% is not defined on Azure (it is for GitHub Actions), and despite the fact that that variable is only used behind an if statement that checks for GHA CI, the script fails to parse since the variable expands to the empty string.
Switching to delayed expansion by accessing that variable as !GITHUB_OUTPUT! eliminates the syntax error. PR incoming.
Installed packages
N/A
Environment info
N/A
The text was updated successfully, but these errors were encountered:
Solution to issue cannot be found in the documentation.
Issue
Since #1701, and version 3.23.0, enabling storage of the conda build artifacts causes a failure on Azure + Windows during the "Prepare conda build artifacts" step, producing the error message "
The syntax of the command is incorrect.
" See example.The syntax error comes from the fact that
%GITHUB_OUTPUT%
is not defined on Azure (it is for GitHub Actions), and despite the fact that that variable is only used behind anif
statement that checks for GHA CI, the script fails to parse since the variable expands to the empty string.Switching to delayed expansion by accessing that variable as
!GITHUB_OUTPUT!
eliminates the syntax error. PR incoming.Installed packages
Environment info
The text was updated successfully, but these errors were encountered: