release.yml (tag v* or manual dispatch): beta Flutter per local convention, Linux build deps, package script tarball, artifact upload, then release_publish.sh creates the Forgejo release, uploads the asset, and commits updates/manifest.json back to main. Workflows moved .github -> .gitea to match the forge setup. Wishlist.md consumed into roadmap backlog: EOF stall + tiny buffer bugs prioritized, recovery controls, link conveniences, time UI, shortcuts, shaders, avatar serving.
44 lines
1.2 KiB
YAML
44 lines
1.2 KiB
YAML
name: release
|
|
on:
|
|
push:
|
|
tags: ['v*']
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
linux:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Install Linux build deps
|
|
run: |
|
|
if command -v apt-get >/dev/null; then
|
|
sudo apt-get update
|
|
sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev
|
|
fi
|
|
|
|
- name: Setup Flutter (beta)
|
|
run: |
|
|
git clone https://github.com/flutter/flutter.git -b beta --depth 1 ~/flutter
|
|
echo "$HOME/flutter/bin" >> $GITHUB_PATH
|
|
|
|
- name: Build tarball
|
|
run: tool/package_linux.sh
|
|
|
|
- name: Upload tarball artifact
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: linux-tarball
|
|
path: dist/*.tar.gz
|
|
|
|
- name: Publish release + manifest
|
|
if: startsWith(github.ref, 'refs/tags/v')
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
|
RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
|
run: tool/release_publish.sh "${{ github.ref_name }}"
|