Skip to content

πŸ†™ Upscayl - #1 Free and Open Source AI Image Upscaler for Linux, MacOS and Windows.

Add GitHub Actions workflow for Windows build

Nayam Amarshe4fc0b034e460
diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml
new file mode 100644
index 0000000..a13ec17
--- /dev/null
+++ b/.github/workflows/build-windows.yml
@@ -0,0 +1,28 @@
+name: Build for Windows
+
+on:
+ workflow_dispatch:
+
+jobs:
+ windows:
+ runs-on: windows-latest
+ steps:
+ - uses: actions/checkout@v3
+
+ - uses: actions/[email protected]
+ with:
+ node-version: 18
+
+ - name: Install Modules and Build
+ run: |
+ npm install
+ npm run dist:win
+
+ - name: Upload Windows Build
+ uses: actions/upload-artifact@v3
+ with:
+ name: windows-build
+ path: |
+ dist/*.blockmap
+ dist/*.zip
+ dist/*.exe