Move ClaudeChecker builds and updates to Gitea
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
name: Build
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
macos:
|
||||
runs-on: claudechecker-macos-arm64
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Build universal macOS app
|
||||
run: bash scripts/build-macos.sh
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ClaudeChecker-macOS
|
||||
path: ClaudeChecker.zip
|
||||
windows:
|
||||
runs-on: claudechecker-windows-x64
|
||||
defaults:
|
||||
run:
|
||||
shell: powershell
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Build Windows installer
|
||||
run: ./scripts/build-windows.ps1
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ClaudeChecker-Windows
|
||||
path: ClaudeChecker-Installer.exe
|
||||
@@ -0,0 +1,32 @@
|
||||
name: Release Windows
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
version:
|
||||
description: 'Version, e.g. 0.0.1-beta.64'
|
||||
required: true
|
||||
type: string
|
||||
channel:
|
||||
description: Release channel
|
||||
required: true
|
||||
default: windows-beta
|
||||
type: choice
|
||||
options: [windows-beta, windows-stable]
|
||||
jobs:
|
||||
release:
|
||||
if: github.ref == 'refs/heads/main'
|
||||
runs-on: claudechecker-windows-x64
|
||||
defaults:
|
||||
run:
|
||||
shell: powershell
|
||||
env:
|
||||
VERSION: ${{ inputs.version }}
|
||||
CHANNEL: ${{ inputs.channel }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Build Windows installer
|
||||
run: ./scripts/build-windows.ps1 -Version $env:VERSION
|
||||
- name: Publish release and update feed
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: python scripts/publish-release.py
|
||||
@@ -0,0 +1,29 @@
|
||||
name: Release macOS
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
version:
|
||||
description: 'Version, e.g. 1.3.3 or 1.3.4-beta.1'
|
||||
required: true
|
||||
type: string
|
||||
channel:
|
||||
description: Release channel
|
||||
required: true
|
||||
default: stable
|
||||
type: choice
|
||||
options: [stable, beta]
|
||||
jobs:
|
||||
release:
|
||||
if: github.ref == 'refs/heads/main'
|
||||
runs-on: claudechecker-macos-arm64
|
||||
env:
|
||||
VERSION: ${{ inputs.version }}
|
||||
CHANNEL: ${{ inputs.channel }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Build universal macOS app
|
||||
run: bash scripts/build-macos.sh
|
||||
- name: Publish release and update feed
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: python3 scripts/publish-release.py
|
||||
Reference in New Issue
Block a user