From c290b3196727566a843c72fd9bcec29087e53a99 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 18 Apr 2026 11:14:13 +0000 Subject: [PATCH 1/2] Initial plan From 17e23ff927c6744c5e172dc894174393e7397998 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 18 Apr 2026 11:16:12 +0000 Subject: [PATCH 2/2] chore: update GitHub Actions workflows for Node.js 24 compatibility Agent-Logs-Url: https://github.com/eLyiN/gemini-bridge/sessions/c5a1ee38-70ac-4baf-a72c-e5264e99889f Co-authored-by: eLyiN <20600238+eLyiN@users.noreply.github.com> --- .github/workflows/ci.yml | 6 +++--- .github/workflows/release.yml | 26 ++++++-------------------- 2 files changed, 9 insertions(+), 23 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index efba0ef..60a5016 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,15 +14,15 @@ jobs: python-version: ['3.10', '3.11', '3.12'] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install Node.js for Gemini CLI - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: '18' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aba6844..2a26861 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,10 +14,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.11' @@ -38,9 +38,8 @@ jobs: id: tag run: echo "tag=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT - - name: Create GitHub Release - id: create_release - uses: actions/create-release@v1 + - name: Create GitHub Release and upload wheel + uses: softprops/action-gh-release@v2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: @@ -65,24 +64,11 @@ jobs: See [README.md](README.md) for full documentation. draft: false prerelease: false - - - name: Find wheel file - id: find_wheel - run: echo "wheel_path=$(find dist -name '*.whl' -type f)" >> $GITHUB_OUTPUT - - - name: Upload wheel to release - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ${{ steps.find_wheel.outputs.wheel_path }} - asset_name: gemini_bridge-${{ steps.tag.outputs.tag }}-py3-none-any.whl - asset_content_type: application/octet-stream + files: dist/*.whl - name: Publish to PyPI uses: pypa/gh-action-pypi-publish@release/v1 with: # Use Trusted Publishing (no password needed) # Configure at: https://pypi.org/manage/project/gemini-bridge/settings/publishing/ - attestations: true \ No newline at end of file + attestations: true