Skip to content

Commit

Permalink
trying to modify environment file based on the python version
Browse files Browse the repository at this point in the history
  • Loading branch information
keiyamamo committed Sep 25, 2023
1 parent e7b6fa7 commit 0866fd9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/actions/conda-install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ runs:
# uncomment to install env in one go (without caching)
# environment-file: environment.yml

- name: Modify environment file
run: |
sed -i "s/python>3.7/python=${{ inputs.python-version }}/g" environment.yml
shell: bash

- name: Get Date
id: get-date
run: echo "today=$(/bin/date -u '+%Y%m%d')" >> "$GITHUB_OUTPUT"
Expand Down

0 comments on commit 0866fd9

Please sign in to comment.