feat: Implement Gitea Actions for Electron app build and release with package configuration.
All checks were successful
Build and Release / build-and-release (push) Successful in 9m32s
All checks were successful
Build and Release / build-and-release (push) Successful in 9m32s
This commit is contained in:
@@ -44,14 +44,16 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cd Frontend/Electron
|
cd Frontend/Electron
|
||||||
npm run build
|
npm run build
|
||||||
npx electron-builder --linux
|
xvfb-run npx electron-builder --linux --win
|
||||||
xvfb-run npx electron-builder --win
|
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.CI_TOKEN }}
|
GH_TOKEN: ${{ secrets.CI_TOKEN }}
|
||||||
WINEDEBUG: "-all"
|
WINEDEBUG: "-all"
|
||||||
VITE_CONVEX_URL: ${{ secrets.VITE_CONVEX_URL }}
|
VITE_CONVEX_URL: ${{ secrets.VITE_CONVEX_URL }}
|
||||||
VITE_LIVEKIT_URL: ${{ secrets.VITE_LIVEKIT_URL }}
|
VITE_LIVEKIT_URL: ${{ secrets.VITE_LIVEKIT_URL }}
|
||||||
|
|
||||||
|
- name: List build artifacts
|
||||||
|
run: ls -la Frontend/Electron/dist/
|
||||||
|
|
||||||
- name: Delete existing latest release
|
- name: Delete existing latest release
|
||||||
run: |
|
run: |
|
||||||
RELEASE_ID=$(curl -s -H "Authorization: token $TOKEN" \
|
RELEASE_ID=$(curl -s -H "Authorization: token $TOKEN" \
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "discord",
|
"name": "discord",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "1.0.1",
|
"version": "1.0.2",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "main.cjs",
|
"main": "main.cjs",
|
||||||
"homepage": "./",
|
"homepage": "./",
|
||||||
|
|||||||
Reference in New Issue
Block a user