Set minimum python version to 3.10 #2
This file contains hidden or 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: Debug Build | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| include: | |
| - os: ubuntu-latest | |
| osname: Linux | |
| - os: windows-latest | |
| osname: Windows | |
| name: Build for ${{ matrix.osname }} | |
| permissions: write-all | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: 3.14 | |
| - name: Install dependencies | |
| run: | | |
| pip install poetry | |
| poetry install | |
| - name: Build package | |
| run: poetry build | |
| - name: Install PyInstaller | |
| run: poetry run pip install pyinstaller | |
| - name: Build executable | |
| run: poetry run pyinstaller -F --name MGTools_${{ matrix.osname }} ./src/mgtools/__init__.py | |
| - name: Upload artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: Release_${{ matrix.osname }} | |
| path: dist |