Bump urllib3 from 2.4.0 to 2.6.0 #94
Workflow file for this run
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: Create Releases | |
| on: | |
| pull_request: | |
| branches: main | |
| jobs: | |
| create-release: | |
| runs-on: ubuntu-latest | |
| needs: [build-windows, build-linux] | |
| steps: | |
| - name: Show release name | |
| run: echo ${{ github.event.pull_request.title }} | |
| - name: Create Release | |
| id: create_release | |
| uses: actions/create-release@v1 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| tag_name: ${{ github.event.pull_request.title }} | |
| release_name: Release ${{ github.event.pull_request.title }} | |
| body: ${{ github.event.pull_request.body }} | |
| draft: true | |
| prerelease: false | |
| - name: download all artifacts | |
| uses: actions/download-artifact@v4 | |
| with: | |
| path: ./uploads/ | |
| - name: Zip linux | |
| run: | | |
| zip -r open-pulse-linux-x64.zip ./uploads/openpulse-linux/open-pulse-linux-x64 | |
| - name: Zip Windows | |
| run: | | |
| zip -r open-pulse-windows-x64.zip ./uploads/openpulse-windows/open-pulse-windows-x64 | |
| - name: show path | |
| run: ls -r ./uploads/openpulse-linux | |
| - name: upload release linux | |
| id: upload-linux | |
| uses: actions/upload-release-asset@v1.0.1 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| upload_url: ${{ steps.create_release.outputs.upload_url }} | |
| asset_path: open-pulse-linux-x64.zip | |
| asset_name: open-pulse-linux-x64.zip | |
| asset_content_type: application/zip | |
| - name: upload release windows | |
| id: upload-windows | |
| uses: actions/upload-release-asset@v1.0.1 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| upload_url: ${{ steps.create_release.outputs.upload_url }} | |
| asset_path: open-pulse-windows-x64.zip | |
| asset_name: open-pulse-windows-x64.zip | |
| asset_content_type: application/zip | |
| - name: upload release windows installer | |
| id: upload-windows-installer | |
| uses: actions/upload-release-asset@v1.0.1 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| upload_url: ${{ steps.create_release.outputs.upload_url }} | |
| asset_path: ./uploads/openpulse-windows/open-pulse-windows-installer-x64.exe | |
| asset_name: open-pulse-windows-installer-x64.exe | |
| asset_content_type: application/zip | |
| build-windows: | |
| runs-on: windows-2019 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v1 | |
| - name: Install Python | |
| uses: actions/setup-python@v1 | |
| with: | |
| python-version: '3.11' | |
| architecture: 'x64' | |
| # - name: Install InnoSetup | |
| # run: | | |
| # winget install -e --id JRSoftware.InnoSetup | |
| - name: Install Poetry | |
| run: | | |
| pip install poetry | |
| - name: Install requirements | |
| run: | | |
| poetry install | |
| # - name: Run pytest | |
| # run: | | |
| # poetry run pytest | |
| - name: Run Pyinstaller | |
| run: | | |
| poetry run pyinstaller pulse.spec | |
| # - name: Run InnoSetup | |
| # run: | | |
| # & "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" /O"dist" /F"open-pulse-setup-x64" "pulse.iss" | |
| - name: Compile .iss to .exe Installer | |
| uses: Minionguyjpro/Inno-Setup-Action@v1.2.2 | |
| with: | |
| path: pulse.iss | |
| options: /O"dist" /F"open-pulse-windows-installer-x64" | |
| - name: Rename file | |
| run: | | |
| mv dist/OpenPulse dist/open-pulse-windows-x64 | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: openpulse-windows | |
| path: dist/ | |
| build-linux: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v1 | |
| - name: Install Python | |
| uses: actions/setup-python@v1 | |
| with: | |
| python-version: '3.11' | |
| architecture: 'x64' | |
| - name: Install Poetry | |
| run: | | |
| pip install poetry | |
| - name: Install requirements | |
| run: | | |
| poetry install | |
| # - name: Run pytest | |
| # run: | | |
| # poetry run pytest | |
| - name: Run Pyinstaller | |
| run: | | |
| poetry run pyinstaller pulse.spec | |
| - name: Rename file | |
| run: | | |
| mv dist/OpenPulse dist/open-pulse-linux-x64 | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: openpulse-linux | |
| path: dist/ |