install qgis and find osgeo4w main bat file #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build standalone tool on Windows | |
on: push | |
jobs: | |
Compile-on-Windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install QGIS | |
run: choco install qgis | |
- name: shell | |
shell: powershell | |
run: | | |
$osgeo_file=(Get-Childitem -Path C: -Include OSGeow4w.bat -Recurse -File | Select-Object -ExpandProperty FullName) | |
Invoke-Expression -Command $osgeo_file | |
pip install dynaconf pyinstaller mergin-client |