Files
sdk/templates/rust-app/.github/workflows/release.yml
Tamas Csikel f00e8c6847
All checks were successful
ci / test (push) Successful in 17m21s
Fennec SDK: split from the Fennec OS repository
The app-facing parts of Fennec OS move here, so apps build without the
OS sources:
- sf-app: the app contract (manifest, permissions, store rules, sandbox,
  launch), from sf-ipc; the OS depends on it by tag.
- sf-ui (+ gallery), sf-pack, templates/rust-app, docs.

Store apps may now register for DIAL: a [dial] section implies the new
`dial` permission, which the user approves like any other.

The templates no longer mention signing: store releases are unsigned.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 17:31:51 +01:00

34 lines
1.1 KiB
YAML

# GitHub: on a tag (v1.2.3), build in Debian trixie and publish a release
# with the two store assets.
name: release
on:
push:
tags: ["v*"]
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
container: debian:trixie
env:
SF_PACK_GIT: https://gitea.bluefox.support/fennec/sdk
steps:
- uses: actions/checkout@v4
- name: Toolchain
run: |
apt-get update -qq
apt-get install -y -qq --no-install-recommends build-essential pkg-config curl ca-certificates git \
libfontconfig1-dev libfreetype-dev libxkbcommon-dev gh >/dev/null
curl -sSf https://sh.rustup.rs | sh -s -- -y -q --profile minimal
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
- name: sf-pack
run: cargo install -q --locked --git "$SF_PACK_GIT" sf-pack
- name: Build
run: ./package.sh
- name: Release
env:
GH_TOKEN: ${{ github.token }}
run: |
git config --global --add safe.directory "$PWD"
gh release create "$GITHUB_REF_NAME" dist/* --title "$GITHUB_REF_NAME" --notes "Fennec OS store release"