Skip to content

Commit

Permalink
use $CONDA_EXE?
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimergp committed Oct 4, 2024
1 parent a9e3dc2 commit e64f70f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/example-14.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,12 @@ jobs:
run: |
cat <<EOF | python
import json
import os
from subprocess import check_output
out = check_output(
[
"conda${{ runner.os == 'Windows' && '.exe' || ''}}",
os.environ["CONDA_EXE"],
"config",
"--show",
"channels",
Expand Down

0 comments on commit e64f70f

Please sign in to comment.