Skip to content

fix: correct html structure for global polyfill #22

fix: correct html structure for global polyfill

fix: correct html structure for global polyfill #22

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
permissions:
contents: write
jobs:
release:
name: Build and Release
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
include:
- os: windows-latest
build_script: electron:build:win
artifact_name: windows
- os: ubuntu-latest
build_script: electron:build:linux
artifact_name: linux
- os: macos-latest
build_script: electron:build:mac
artifact_name: macos
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build Electron app
run: npm run ${{ matrix.build_script }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload Release Assets
uses: softprops/action-gh-release@v1
with:
files: |
release/*.exe
release/*.dmg
release/*.zip
release/*.AppImage
release/*.deb
release/*.yml
release/*.blockmap
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
create-release-notes:
name: Create Release Notes
runs-on: ubuntu-latest
needs: release
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Generate Release Notes
uses: softprops/action-gh-release@v1
with:
generate_release_notes: true
body: |
## AI Model DB Pro ${{ github.ref_name }}
See [CHANGELOG.md](https://github.com/${{ github.repository }}/blob/main/CHANGELOG.md) for detailed changes.
### Downloads
- **Windows**: `.exe` installer or portable `.exe`
- **macOS**: `.dmg` disk image
- **Linux**: `.AppImage` or `.deb` package
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}