Skip to content

Commit

Permalink
Update osgeo4w.yml use direct call
Browse files Browse the repository at this point in the history
  • Loading branch information
echoix authored Dec 31, 2023
1 parent f3ba5b0 commit 6c64798
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/osgeo4w.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,22 @@ jobs:
python3-wxpython,regex-devel,zstd-devel"
- name: Install OSGeo4W
run: |
$exe = 'osgeo4w-setup.exe'
Start-Process ('.\'+$exe) -ArgumentList '-A -g -k -q \
-s http://download.osgeo.org/osgeo4w/v2/ -P ${{ env.Deps }}' -NoNewWindow
& .\"${{ env.FILE_NAME }}" -A -g -k -q -s ${{ env.BASE_URL }} -P ${{ env.Deps }}
#$exe = 'osgeo4w-setup.exe'
#Start-Process ('.\'+$exe) -ArgumentList '-A -g -k -q \
#-s http://download.osgeo.org/osgeo4w/v2/ -P ${{ env.Deps }}' -NoNewWindow

# .\"${{ env.FILE_NAME }}" -A -g -k -q -s ${{ env.BASE_URL }} -P ${{ env.Deps }}
shell: pwsh
env:
BASE_URL: https://download.osgeo.org/osgeo4w/v2
FILE_NAME: osgeo4w-setup.exe
Deps: "proj-devel,gdal-devel,geos-devel,libtiff-devel,libpng-devel,\
Deps: ${{'proj-devel,gdal-devel,geos-devel,libtiff-devel,libpng-devel,
pdal-devel,netcdf-devel,cairo-devel,fftw,freetype-devel,gdal-ecw,
gdal-mrsid,liblas-devel,libxdr,libpq-devel,pdcurses,
python3-matplotlib,python3-numpy,python3-ply,python3-pywin32,
python3-wxpython,regex-devel,zstd-devel'}}
Deps1: "proj-devel,gdal-devel,geos-devel,libtiff-devel,libpng-devel,\
pdal-devel,netcdf-devel,cairo-devel,fftw,freetype-devel,gdal-ecw,\
gdal-mrsid,liblas-devel,libxdr,libpq-devel,pdcurses,\
python3-matplotlib,python3-numpy,python3-ply,python3-pywin32,\
Expand Down

0 comments on commit 6c64798

Please sign in to comment.