name: Build Distribution Packages on: [push] jobs: build_mac: runs-on: macos-latest steps: - name: Checkout repository uses: actions/checkout@v2 - name: Install Python Environment uses: actions/setup-python@v2 with: python-version: 3.9 - name: Install dependencies run: | python -m pip install --upgrade pip pip install PyQt5 pip install py2exe - name: Run Mac build run: | ./build_mac.sh - name: Archive build result artifacts uses: actions/upload-artifact@v2 with: name: octotray_mac path: | ${{ github.workspace }}/build/dist/OctoTray_Mac.zip build_windows: runs-on: windows-latest steps: - name: Checkout repository uses: actions/checkout@v2 - name: Install Python Environment uses: actions/setup-python@v2 with: python-version: 3.7 - name: Install dependencies run: | python -m pip install --upgrade pip pip install PyQt5 pip install py2exe shell: bash - name: Run Windows build run: | ./build_win.sh shell: bash - name: Show build results run: | ls build/win ls build/dist shell: bash