Skip to content

Retrigger HyperYap v1.0.9 release from current main #9

Retrigger HyperYap v1.0.9 release from current main

Retrigger HyperYap v1.0.9 release from current main #9

Workflow file for this run

name: Release HyperYap
on:
workflow_dispatch:
inputs:
target:
description: 'Target system to build'
required: false
default: 'all'
type: choice
options:
- all
- linux
- windows
- macos
- macos-intel
push:
branches:
- main
paths:
- .release-trigger
jobs:
linux:
if: ${{ (github.event.inputs.target || 'all') == 'all' || github.event.inputs.target == 'linux' }}
uses: ./.github/workflows/build-linux.yml
secrets:
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
windows:
if: ${{ (github.event.inputs.target || 'all') == 'all' || github.event.inputs.target == 'windows' }}
uses: ./.github/workflows/build-windows.yml
secrets:
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
SIGNPATH_API_TOKEN: ${{ secrets.SIGNPATH_API_TOKEN }}
SIGNPATH_ORG_ID: ${{ secrets.SIGNPATH_ORG_ID }}
SIGNPATH_PROJECT_SLUG: ${{ secrets.SIGNPATH_PROJECT_SLUG }}
SIGNPATH_POLICY_SLUG: ${{ secrets.SIGNPATH_POLICY_SLUG }}
macos:
if: ${{ (github.event.inputs.target || 'all') == 'all' || github.event.inputs.target == 'macos' }}
uses: ./.github/workflows/build-macos.yml
secrets:
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
MACOS_CODESIGN_P12_B64: ${{ secrets.MACOS_CODESIGN_P12_B64 }}
CERT_PASSWORD: ${{ secrets.CERT_PASSWORD }}
MACOS_CODESIGN_IDENTITY: ${{ secrets.MACOS_CODESIGN_IDENTITY }}
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
macos-intel:
if: ${{ (github.event.inputs.target || 'all') == 'all' || github.event.inputs.target == 'macos-intel' }}
uses: ./.github/workflows/build-macos-intel.yml
secrets:
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
MACOS_CODESIGN_P12_B64: ${{ secrets.MACOS_CODESIGN_P12_B64 }}
CERT_PASSWORD: ${{ secrets.CERT_PASSWORD }}
MACOS_CODESIGN_IDENTITY: ${{ secrets.MACOS_CODESIGN_IDENTITY }}
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
publish:
needs: [linux, windows, macos, macos-intel]
if: >-
${{
always() &&
(
((github.event.inputs.target || 'all') == 'all' && needs.linux.result == 'success' && needs.windows.result == 'success' && needs.macos.result == 'success' && needs['macos-intel'].result == 'success') ||
(github.event.inputs.target == 'linux' && needs.linux.result == 'success') ||
(github.event.inputs.target == 'windows' && needs.windows.result == 'success') ||
(github.event.inputs.target == 'macos' && needs.macos.result == 'success') ||
(github.event.inputs.target == 'macos-intel' && needs['macos-intel'].result == 'success')
)
}}
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Download Windows artifacts
if: ${{ needs.windows.result == 'success' }}
uses: actions/download-artifact@v4
with:
name: hyperyap-windows-x64
path: release-assets/windows
- name: Download Linux artifacts
if: ${{ needs.linux.result == 'success' }}
uses: actions/download-artifact@v4
with:
name: hyperyap-linux
path: release-assets/linux
- name: Download macOS Apple Silicon artifacts
if: ${{ needs.macos.result == 'success' }}
uses: actions/download-artifact@v4
with:
name: hyperyap-macos
path: release-assets/macos
- name: Download macOS Intel artifacts
if: ${{ needs['macos-intel'].result == 'success' }}
uses: actions/download-artifact@v4
with:
name: hyperyap-macos-intel
path: release-assets/macos-intel
- name: Get version
id: version
run: |
VERSION=$(grep '"version"' src-tauri/tauri.conf.json | head -1 | sed 's/.*"\([0-9.]*\)".*/\1/')
echo "version=$VERSION" >> $GITHUB_OUTPUT
- name: Prepare release assets
run: |
mkdir -p release-upload
find release-assets -type f -exec cp {} release-upload/ \;
cd release-upload
for f in *.exe; do
mv "$f" "hyperyap_${{ steps.version.outputs.version }}_x64-setup.exe" 2>/dev/null || true
done
ls -la
- name: Create or update GitHub Release
env:
GH_TOKEN: ${{ github.token }}
run: |
TAG="v${{ steps.version.outputs.version }}"
# Delete existing release if it exists (for re-releases)
gh release delete "$TAG" --yes 2>/dev/null || true
# Create new release
gh release create "$TAG" \
--title "HyperYap $TAG" \
--notes "## HyperYap $TAG
Download the package for your platform.
### Windows
- hyperyap_${{ steps.version.outputs.version }}_x64-setup.exe
- Includes the optional workstation hotkey helper for CapsLock/Mouse Back recording, smart terminal paste, smart terminal copy, and basic paste undo.
- The PowerShell installer installs the latest BenjaminTerm release from GitHub. For v1.0.9, that is BenjaminTerm v1.4.3.
### Linux
- HyperYap_amd64.AppImage
- HyperYap_amd64.deb
### macOS
- HyperYap_aarch64_darwin.dmg for Apple Silicon
- HyperYap_x86_64_darwin.dmg for Intel Macs
The NVIDIA Parakeet speech model runs locally. Installers download or bundle the model depending on platform build settings.
### Quick install (PowerShell)
\`\`\`powershell
irm https://raw.githubusercontent.com/avalonreset/hyperyap/main/install.ps1 | iex
\`\`\`" \
--latest \
release-upload/*