* feat(ffmpeg): add ffmpeg manager, bundle/download ffmpeg in CI and * fix(download-engine): let yt-dlp merge format to avoid codec conflicts and use actual format for filenames * chore(ci): replace monolithic job with platform-specific reusable jobs * chore(ci): run build matrix for windows, macos, linux in one to * feat(ci): remove platform matrix and platform gating to simplify build * chore(ci): pin github-translate-action to specific commit to ensure
45 lines
931 B
YAML
45 lines
931 B
YAML
name: Build and Release Electron App
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- v*.*.*
|
|
|
|
jobs:
|
|
build:
|
|
uses: ./.github/workflows/build.yml
|
|
with:
|
|
upload_artifacts: true
|
|
|
|
release:
|
|
needs: [build]
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out Git repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Download artifacts
|
|
uses: actions/download-artifact@v4
|
|
with:
|
|
pattern: dist-*
|
|
merge-multiple: true
|
|
path: dist/
|
|
|
|
- name: Release
|
|
uses: softprops/action-gh-release@v1
|
|
with:
|
|
generate_release_notes: true
|
|
files: |
|
|
dist/*.exe
|
|
dist/*.zip
|
|
dist/*.dmg
|
|
dist/*.AppImage
|
|
dist/*.snap
|
|
dist/*.deb
|
|
dist/*.rpm
|
|
dist/*.tar.gz
|
|
dist/*.yml
|
|
dist/*.blockmap
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|