Skip to content

Commit

Permalink
[cicd] use cmd instead of powershell for windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
johntruckenbrodt committed Dec 18, 2024
1 parent 5471297 commit 58a9a2d
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/conda-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ jobs:

build-windows:
runs-on: windows-latest
defaults:
run:
shell: cmd
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
Expand All @@ -64,12 +67,12 @@ jobs:
- name: Install ESA SNAP
run: |
curl -O https://download.esa.int/step/snap/10_0/installers/esa-snap_sentinel_windows-10.0.0.exe
start /wait esa-snap_sentinel_windows-10.0.0.exe -q -dir $GITHUB_ACTION_PATH\esa-snap
start /wait esa-snap_sentinel_windows-10.0.0.exe -q -dir %GITHUB_ACTION_PATH%\esa-snap
- name: Set paths and variables
run: |
echo "$CONDA\Scripts" >> $GITHUB_PATH
echo "$GITHUB_ACTION_PATH\esa-snap\bin" >> $GITHUB_PATH
echo "PROJ_DATA=$CONDA\share\proj" >> $GITHUB_ENV
echo %CONDA%\Scripts >> %GITHUB_PATH%
echo %GITHUB_ACTION_PATH%\esa-snap\bin >> %GITHUB_PATH%
echo PROJ_DATA=%CONDA%\share\proj >> %GITHUB_ENV%
- name: Install dependencies
run: |
conda install -y python=3.10
Expand Down

0 comments on commit 58a9a2d

Please sign in to comment.