This repository was archived by the owner on Sep 8, 2025. It is now read-only.
Bump requests from 2.32.2 to 2.32.4 in /scr #37
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: Compile .exe | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: windows-latest | |
| strategy: | |
| matrix: | |
| architecture: [x86, x64] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@latest | |
| with: | |
| python-version: '3.11.6' | |
| architecture: ${{ matrix.architecture }} | |
| - name: Install dependencies And PyInstaller | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r scr/requirements.txt | |
| pip install pyinstaller | |
| - name: Build executable | |
| uses: Martin005/pyinstaller-action@latest | |
| with: | |
| spec: './scr/main.py' | |
| requirements: './scr/requirements.txt' | |
| options: --onefile, --name ${{ github.event.repository.name }}-${{ matrix.architecture }} | |
| python_arch: ${{ matrix.architecture }} | |
| - uses: actions/upload-artifact@latest | |
| with: | |
| name: '${{ github.event.repository.name }}-${{ matrix.architecture }}' | |
| path: ./dist/*.exe | |
| release: | |
| needs: build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Download artifacts | |
| uses: actions/download-artifact@latest | |
| with: | |
| name: ${{ github.event.repository.name }}-x86 | |
| path: ./dist | |
| - name: Download artifacts | |
| uses: actions/download-artifact@latest | |
| with: | |
| name: ${{ github.event.repository.name }}-x64 | |
| path: ./dist | |
| - name: Prepare for Release | |
| run: | | |
| echo "TAG=v$(date +%Y.%m.%d.%H.%M.%S)" >> $GITHUB_ENV | |
| echo "NAME=${{ github.event.repository.name }}-v$(date +%Y-%m-%d)" >> $GITHUB_ENV | |
| - name: Create release | |
| uses: marvinpinto/action-automatic-releases@latest | |
| with: | |
| repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
| prerelease: false | |
| automatic_release_tag: ${{ env.TAG }} | |
| title: ${{ env.NAME }} | |
| files: dist/*.exe |