auto-deploy
Some checks failed
Release Electron App / release-desktop (push) Failing after 7m58s

This commit is contained in:
2026-03-02 18:07:33 +01:00
parent d82738e7ea
commit 41d998db91
2 changed files with 37 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
name: Release Electron App
run-name: Releasing ${{ gitea.ref_name }}
on:
push:
tags:
- 'v*' # This tells Gitea to ONLY run this when a tag starting with "v" is pushed
jobs:
release-desktop:
runs-on: ubuntu-latest
container:
image: electronuserland/builder:wine
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Install Dependencies
run: npm install
- name: Build and Publish to Gitea Releases
# The '-p always' flag tells electron-builder to upload the files to Gitea
run: npx electron-builder --linux --win -p always
env:
# Gitea Actions automatically generates this token for you during the run!
GITEA_TOKEN: ${{ gitea.token }}

View File

@@ -5,6 +5,17 @@
"description": "Local-first intelligent desktop workspace",
"main": ".vite/build/main.js",
"private": true,
"build": {
"appId": "adiuva",
"publish": [
{
"provider": "gitea",
"url": "http://10.0.0.119:3000",
"owner": "roberto",
"repo": "adiuva-ui"
}
]
},
"scripts": {
"start": "electron-forge start",
"package": "electron-forge package",