Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
weiqi-tori committed Oct 11, 2024
1 parent e77ff39 commit 40fa675
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/dev_ci_cd_conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,16 @@ jobs:
matrix:
python-version: ["3.10"]
steps:
- name: Set up .cdsapirc
- name: Preserve $HOME set in the container
run: |
echo "url: ${{ secrets.ERA5_URL }}" > ~/.cdsapirc
echo "key: ${{ secrets.ERA5_KEY }}" >> ~/.cdsapirc
echo $HOME
echo HOME=$HOME >> "$GITHUB_ENV"
- name: Add ERA5 API key
run: |
cat <<EOF > $HOME/.cdsapirc
url: ${{ secrets.ERA5_URL }}
key: ${{ secrets.ERA5_KEY }}
EOF
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v2
with:
Expand Down

0 comments on commit 40fa675

Please sign in to comment.