Some checks failed
Release Electron App / release-desktop (push) Failing after 7m58s
26 lines
761 B
YAML
26 lines
761 B
YAML
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 }} |