diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b422661..be2b776 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,6 +41,35 @@ jobs: name: ren-browser-linux path: build/linux + build-windows: + runs-on: windows-latest + permissions: + contents: read + steps: + - name: Checkout repository + uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 + + - name: Set up Python + uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0 + with: + python-version: '3.13' + + - name: Install Poetry and dependencies + run: | + python -m pip install --upgrade pip + pip install poetry + poetry config virtualenvs.create false + poetry install --without dev + + - name: Build Windows package + run: poetry run flet build windows + + - name: Upload Windows artifact + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 + with: + name: ren-browser-windows + path: build/windows + build-android: runs-on: ubuntu-latest permissions: @@ -82,7 +111,7 @@ jobs: path: build/apk create-release: - needs: [build-linux, build-android] + needs: [build-linux, build-windows, build-android] runs-on: ubuntu-latest if: startsWith(github.ref, 'refs/tags/') permissions: @@ -97,6 +126,12 @@ jobs: name: ren-browser-linux path: ./artifacts/linux + - name: Download Windows artifact + uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 + with: + name: ren-browser-windows + path: ./artifacts/windows + - name: Download APK artifact uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 with: @@ -110,6 +145,7 @@ jobs: draft: true files: | ./artifacts/linux/* + ./artifacts/windows/* ./artifacts/apk/* name: Release ${{ github.ref_name }} body: | @@ -117,4 +153,5 @@ jobs: This release contains: - Linux binary package + - Windows binary package - Android APK package \ No newline at end of file