Add assets to release (#2632)

* add flatpack to electron build

* note

* add to workflow

* try to fix workflow

* typos

* workflow

* work

* update

* add repo

* update other electron workflow

* stable doesn't work

* fix version

* add step

* note

* fix
This commit is contained in:
youngcw
2024-04-19 12:54:45 -07:00
committed by GitHub
parent 84fbc7e464
commit 7d892d8164
2 changed files with 19 additions and 2 deletions

View File

@@ -9,8 +9,8 @@ env:
on:
push:
branches:
- master
tags:
- v**
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
@@ -18,6 +18,9 @@ concurrency:
jobs:
build:
# this is so the assets can be added to the release
permissions:
contents: write
strategy:
matrix:
os:
@@ -57,3 +60,11 @@ jobs:
packages/desktop-electron/dist/*.exe
packages/desktop-electron/dist/*.AppImage
packages/desktop-electron/dist/*.flatpak
- name: Add to Release
uses: softprops/action-gh-release@v2
with:
files: |
packages/desktop-electron/dist/*.dmg
packages/desktop-electron/dist/*.exe
packages/desktop-electron/dist/*.AppImage
packages/desktop-electron/dist/*.flatpak