Skip to content

zip build file with prints for checking #10

zip build file with prints for checking

zip build file with prints for checking #10

name: Build standalone tool on Windows
on: push
jobs:
Compile-on-Windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: robinraju/[email protected]
with:
repository: "MerginMaps/geodiff"
latest: true
fileName: "geodiff_windows_binaries.zip"
zipBall: true
out-file-path: "scripts/windows_binaries"
extract: true
- name: Delete files from binaries
run: |
cd scripts/windows_binaries
del geodiff_*.zip
del geodiff-*.zip
- name: Print Dir
run: |
cd scripts/windows_binaries
dir
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install dynaconf pyinstaller mergin-client
- name: Build Binary
run: |
cd scripts
cmd.exe /C build_exe.bat
- name: Print Dir
run: |
cd scripts/dist
dir
- name: Zip Release
run: |
cd scripts/dist
tar.exe -a -c -f dbsync_standalone_win.zip dbsync_daemon.exe config.yaml
- name: Print Dir
run: |
cd scripts/dist
dir