Skip to content

Commit

Permalink
Use exec instead of source to restart bash main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Tillsa authored Sep 8, 2023
1 parent 7ba1849 commit 720e426
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ jobs:
run: conda init bash
- name: source bash
shell: bash
run: source /home/runner/.bashrc
run: exec bash
#run: source /home/runner/.bashrc
- name: activate conda env
shell: bash
run: conda activate myenv
Expand Down

0 comments on commit 720e426

Please sign in to comment.