add automatic build (#7)

This commit is contained in:
Mylloon 2024-08-20 20:52:52 +02:00
parent 04b4138b46
commit 0b85415c1d
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -0,0 +1,27 @@
name: Upload release
on:
push:
tags:
- "*"
jobs:
build:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: |
npm install --platform=win32 &&
apt-get update &&
apt-get install -y zip
- name: Build the app
run: npm run make -- --platform=win32
- name: Create release
uses: akkuman/gitea-release-action@v1
with:
token: ${{ secrets.TOKEN }}
files: out/make/zip/win32/x64/dsr-win32-x64-${{ github.ref_name }}.zip