Updated PolyMod to latest version and added working logic. Yet to fix… #34
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: Installer | |
| on: | |
| push: | |
| paths: | |
| - 'installer/**' | |
| pull_request: | |
| paths: | |
| - 'installer/**' | |
| jobs: | |
| job: | |
| defaults: | |
| run: | |
| working-directory: ./installer | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [windows-latest, ubuntu-22.04, macos-13] | |
| name: Build on ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Install requirements | |
| run: pip install -r requirements.txt | |
| - name: Build | |
| run: python build.py | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ matrix.os }} | |
| path: installer/dist/ | |
| merge: | |
| name: Merge artifacts | |
| runs-on: ubuntu-latest | |
| needs: job | |
| steps: | |
| - uses: actions/upload-artifact/merge@v4 | |
| with: | |
| name: artifacts | |
| delete-merged: true | |
| separate-directories: true | |