From f3c3284fd1bf14e99a46a8c31fb4960845700c07 Mon Sep 17 00:00:00 2001 From: fabio286 Date: Fri, 31 Jan 2025 13:32:44 +0100 Subject: [PATCH] ci: add GitHub Actions workflow for creating Windows APPX artifacts --- .../create-artifact-windows-appx.yml | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/create-artifact-windows-appx.yml diff --git a/.github/workflows/create-artifact-windows-appx.yml b/.github/workflows/create-artifact-windows-appx.yml new file mode 100644 index 00000000..86749890 --- /dev/null +++ b/.github/workflows/create-artifact-windows-appx.yml @@ -0,0 +1,32 @@ +name: Create artifact [WINDOWS APPX] + +on: + workflow_dispatch: {} + +jobs: + build: + runs-on: windows-2022 + steps: + - name: Check out Git repository + uses: actions/checkout@v4 + + - name: Install Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 + + - name: Install dependencies + run: npm i + + - name: "Build" + run: npm run build:appx + + - name: Upload Artifact + uses: actions/upload-artifact@v4 + with: + name: windows-build + retention-days: 3 + path: | + build + !build/*-unpacked + !build/.icon-ico