Skip to content

Commit

Permalink
Write the env in the workflow itself
Browse files Browse the repository at this point in the history
  • Loading branch information
liamhuber authored Aug 26, 2024
1 parent bafc873 commit 6629640
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/miniconda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Write env file
shell: bash -l {0}
run: |
echo -e "channels:\n- conda-forge\ndependencies:\n- numpy" > environment.yml
cat environment.yml
- uses: conda-incubator/setup-miniconda@v3
with:
miniforge-variant: Miniforge3
Expand Down

0 comments on commit 6629640

Please sign in to comment.