aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/release_builds.yml
blob: f00c834913d548c3a64c8e6f634c858177bcd215 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: Release CI
on:
  release:
    types: [published]
jobs:
  build-windows:
    name: "Create Windows development builds"
    runs-on: "windows-latest"
    steps:
      - name: Checkout repository
        uses: actions/checkout@v3
      - name: Setup Node environment
        uses: actions/setup-node@v3
        with:
          node-version: 16
      - name: Install dependencies
        run: npm install --force
      - name: Create builds
        run: npm run build:windows
      - name: Upload production artifacts to release
        uses: xresloader/upload-to-github-release@v1
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          file: "dist/*.exe;dist/latest.yml"