build-app #155
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: build-app | |
| on: | |
| workflow_run: | |
| workflows: [test] | |
| types: [completed] | |
| jobs: | |
| build-executable: | |
| runs-on: macos-12 | |
| if: ${{ github.event.workflow_run.conclusion == 'success' }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: python3 -m pip install pyinstaller Pillow | |
| - name: Package pyinstaller | |
| run: pyinstaller src/rclone_decrypt/gui.py --onefile --windowed --collect-all tkinterdnd2 --icon=docs/imgs/rd.ico --name rclone-decrypt | |
| - uses: actions/upload-artifact@v3 | |
| with: | |
| name: rclone-decrypt-gui | |
| path: dist/rclone-decrypt.app |