diff --git a/.github/workflows/pyinstaller-build.yml b/.github/workflows/pyinstaller-build.yml deleted file mode 100644 index 7f21cde..0000000 --- a/.github/workflows/pyinstaller-build.yml +++ /dev/null @@ -1,51 +0,0 @@ -name: Build Pyinstaller Executable and Upload - -on: - push: - branches: - - main - -jobs: - build-exe: - runs-on: "windows-latest" - - env: - MAIN_PY_FILE: "main.py" - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: 3.13.x - - - name: Install Python dependencies - run: | - pip install uv - uv sync - uv pip install pyinstaller - uv pip uninstall setuptools - uv pip install setuptools==66.1.1 - working-directory: ./ - - - name: Build executable - run: | - uv run pyinstaller ${{ env.MAIN_PY_FILE }} -F -i icon.ico - working-directory: ./ - - - name: Rename Executable - run: | - mv dist/main.exe dist/${{ secrets.PROJECT_NAME }}.exe - working-directory: ./ - - - name: Upload to FastFile Single - uses: fjogeleit/http-request-action@v1 - with: - url: "https://fastfile.yuharan.ru/" - method: "POST" - username: fastfile - password: ${{ secrets.FF_PSWD }} - files: '{"file": "dist/${{ secrets.PROJECT_NAME }}.exe"}' - timeout: 120000