# 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"