Add Docker+Wine Windows cross-build from Linux CI
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
2e36b189cf
commit
56f1f058ae
8 files changed
+184
-24
No files matched your search
@@ -1,5 +1,3 @@
|
||||
# Release — Linux native build + Windows portable zip (Linux runner only).
|
||||
|
||||
name: Release Scribd
|
||||
|
||||
on:
|
||||
@@ -36,6 +34,19 @@ jobs:
|
||||
path: ${{ env.SCRIBD_DIR }}/dist/Scribd-PDF-Downloader-Linux.tar.gz
|
||||
retention-days: 30
|
||||
|
||||
build-windows-exe:
|
||||
name: Windows (.exe via Wine/Docker)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- working-directory: ${{ env.SCRIBD_DIR }}
|
||||
run: chmod +x ./build/ci/docker-build-windows.sh && ./build/ci/docker-build-windows.sh
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: scribd-windows
|
||||
path: ${{ env.SCRIBD_DIR }}/dist/Scribd-PDF-Downloader-Windows.zip
|
||||
retention-days: 30
|
||||
|
||||
build-windows-portable:
|
||||
name: Windows (portable zip)
|
||||
runs-on: ubuntu-latest
|
||||
@@ -54,7 +65,7 @@ jobs:
|
||||
|
||||
release:
|
||||
name: Create Gitea release
|
||||
needs: [build-linux, build-windows-portable]
|
||||
needs: [build-linux, build-windows-exe, build-windows-portable]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/download-artifact@v4
|
||||
|
||||
Reference in new issue
Block a user