From d94bad5964b2567207a6c022aaa65b15f04f73cb Mon Sep 17 00:00:00 2001 From: Ascensionist <138753635+Ascensionist@users.noreply.github.com> Date: Mon, 21 Oct 2024 00:17:35 +0500 Subject: [PATCH] Windows workflow added (Resolved #27) --- .github/workflows/main.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..e10d2fb --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,24 @@ +name: Node.js CI + +on: [push] + +env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + +jobs: + build: + + runs-on: windows-latest + + steps: + - uses: actions/checkout@v4 + - name: Use Node.js + uses: actions/setup-node@v4 + with: + node-version: '20.x' + - run: npm install -g electron-builder + - run: npm run build + - uses: actions/upload-artifact@v4.4.3 + with: + name: Windows Executables + path: dist/*.exe