This commit is contained in:
Amrit Subramanian 2025-10-04 20:36:20 -04:00
parent 4627907ca1
commit 4b41e858bb
3 changed files with 16 additions and 9 deletions

View file

@ -9,7 +9,7 @@ permissions:
contents: write
jobs:
release:
build:
runs-on: ${{ matrix.os }}
strategy:
@ -30,8 +30,6 @@ jobs:
- name: Build application
run: npm run dist
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload artifacts (macOS)
if: matrix.os == 'macos-latest'
@ -51,14 +49,23 @@ jobs:
dist/*.AppImage
dist/*.deb
- name: Release
release:
needs: build
runs-on: ubuntu-latest
steps:
- name: Download all artifacts
uses: actions/download-artifact@v4
with:
path: artifacts
- name: Display structure of downloaded files
run: ls -R artifacts
- name: Create Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
dist/*.dmg
dist/*.zip
dist/*.AppImage
dist/*.deb
artifacts/macos-build/*
artifacts/linux-build/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

BIN
build/icon.icns Normal file

Binary file not shown.

BIN
build/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7 KiB