name: Release Binaries & Packages on: push: tags: - 'v*' release: types: [published] workflow_dispatch: inputs: tag: description: 'Release tag to publish assets to (default: v0.3.1)' required: false default: 'v0.3.1' jobs: release: name: Build & Release Standalone Binaries (Linux & Windows Cross-Compilation) runs-on: logar steps: - name: Checkout Code uses: actions/checkout@v3 with: fetch-depth: 0 - name: Verify Builder Runner Environment & Dependencies run: | echo "=== LOGAR BUILD RUNNER ENVIRONMENT ===" uname -a python3 --version which makensis || echo "[!] Warning: makensis not found in PATH" python3 -m pip install -r compilation/requirements.txt --no-warn-script-location --break-system-packages 2>/dev/null || python3 -m pip install -r compilation/requirements.txt --no-warn-script-location || true python3 -c "import PyInstaller, distlib, pgpy, fastapi, uvicorn, websockets, sqlalchemy; print('[+] All core build & packaging dependencies verified.')" - name: Compile Standalone Binaries (Linux & Windows) run: | python3 compilation/package_dist.py --target all - name: Publish Unified Release Assets env: GITEA_TOKEN: ${{ secrets.TAG_TOKEN || github.token }} GITEA_SERVER_URL: ${{ github.server_url }} GITEA_REPOSITORY: ${{ github.repository }} GITEA_REF_NAME: ${{ inputs.tag || github.event.release.tag_name || github.ref_name }} run: | python3 compilation/upload_release.py --skip-build