Skip to content

Commit

Permalink
if we use ~/.bash_profile initialization can also be made after setup…
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesWiesner committed Jun 21, 2023
1 parent 61952b5 commit d1e147f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3,427 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/run-github-workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ jobs:
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- name: initialize conda for Git Bash (will be skipped for Linux)
run: |
if [ "$RUNNER_OS" == "Windows" ]; then
echo ". /c/Miniconda/etc/profile.d/conda.sh" >> ~/.bashrc
fi
- name: setup python in order to run tcy.py
uses: actions/setup-python@v4
with:
Expand All @@ -50,6 +45,11 @@ jobs:
with:
environment-file: ./environments/${{ matrix.os }}_input.yml
environment-name: ${{ matrix.os }}
- name: initialize conda for Git Bash (will be skipped for Linux)
run: |
if [ "$RUNNER_OS" == "Windows" ]; then
echo ". /c/Miniconda/etc/profile.d/conda.sh" >> ~/.bash_profile
fi
- name: export conda environment as .yml file and as spec-file.txt
run: |
if [ "$RUNNER_OS" == "Windows" ]; then
Expand Down
Loading

0 comments on commit d1e147f

Please sign in to comment.