Remove unnecessary blank line in fullmodefullParams.py #12
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: DelMoro UI Release | |
| on: | |
| push: | |
| branches: [release-GUI] | |
| paths: ['DelMoro-UI.py', 'fullmode/fullmodefullParams.py', 'stepmode/stepmodefullParams.py', 'stepmode/stepmodejsonFile.py'] | |
| permissions: | |
| contents: write | |
| jobs: | |
| build-and-release: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Checkout release-GUI branch | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: release-GUI | |
| fetch-depth: 0 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11.9' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install PyQt5 pyinstaller | |
| - name: Build application | |
| run: | | |
| pyinstaller --onefile --windowed --add-data "delmoro.png:." --name DelMoro-UI DelMoro-UI.py | |
| chmod +x dist/DelMoro-UI | |
| - name: Commit PyInstaller outputs | |
| run: | | |
| git config --global user.name "GitHub Actions" | |
| git config --global user.email "actions@github.com" | |
| git add dist/ build/ DelMoro-UI.spec | |
| git commit -m "Add PyInstaller build outputs" || echo "No changes to commit" | |
| git push origin release-GUI | |
| - name: Generate version | |
| id: version | |
| run: | | |
| echo "RELEASE_VERSION=GUI-v1.0.0-$(date -u +'%Y.%m.%d')" >> $GITHUB_OUTPUT | |
| - name: Create release | |
| uses: softprops/action-gh-release@v1 | |
| with: | |
| tag_name: ${{ steps.version.outputs.RELEASE_VERSION }} | |
| target_commitish: release-GUI | |
| name: "${{ steps.version.outputs.RELEASE_VERSION }}" | |
| body: | | |
| This is DelMoro Graphical User Inerface release | |
| ### Ready-to-Run | |
| ```bash | |
| chmod +x DelMoro-UI | |
| ./DelMoro-UI | |
| ``` | |
| ### Complete Source Code | |
| Includes all PyInstaller outputs: | |
| - `dist/`, `build/` directories | |
| - `DelMoro-UI.spec` file | |
| - Original source files | |
| files: dist/DelMoro-UI |