v0.1.1: external modules, publish YAML, proxy reset, binary-first README
- Host discovers/builds modules under modules/ (bbc, rte, tg4) - module-publish.yaml tracked; local module.yaml gitignored - drm --modules-dir / DRM_MODULES_DIR - drm proxy reset; Magisk reinject reliability - modules-v* Forgejo release workflow + build scripts - BBC full Explore channel map including S4C - README quickstart based on release binaries
This commit is contained in:
parent
1d36961a7c
commit
f9c28be3f1
52 changed files with 2915 additions and 636 deletions
61
.forgejo/workflows/modules-release.yml
Normal file
61
.forgejo/workflows/modules-release.yml
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
# Build per-module zip assets and attach them to a Forgejo release.
|
||||
#
|
||||
# Trigger: push a modules version tag
|
||||
# git tag modules-v1.0.0 && git push origin modules-v1.0.0
|
||||
|
||||
name: modules-release
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "modules-v*"
|
||||
|
||||
jobs:
|
||||
build-and-upload:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version-file: apps/proxy/device/go.mod
|
||||
cache: false
|
||||
|
||||
- name: Install zip
|
||||
run: apt-get update && apt-get install -y zip
|
||||
|
||||
- name: Build module zips
|
||||
run: |
|
||||
chmod +x scripts/build-modules-release.sh
|
||||
./scripts/build-modules-release.sh "${{ github.ref_name }}"
|
||||
ls -la dist/release
|
||||
|
||||
- name: Upload to Forgejo release
|
||||
uses: https://data.forgejo.org/actions/forgejo-release@v2.7.2
|
||||
with:
|
||||
direction: upload
|
||||
url: https://git.nulldrm.com
|
||||
repo: ${{ github.repository }}
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
tag: ${{ github.ref_name }}
|
||||
sha: ${{ github.sha }}
|
||||
release-dir: dist/release
|
||||
title: ${{ github.ref_name }}
|
||||
override: true
|
||||
release-notes: |
|
||||
External provider modules for Null DRM (`modules-v*` release).
|
||||
|
||||
| Asset | Contents |
|
||||
|---|---|
|
||||
| `module-bbc-*.zip` | BBC iPlayer CLI + `module.yaml` (universal) |
|
||||
| `module-rte-*.zip` | RTÉ Player CLI + `module.yaml` template |
|
||||
| `module-tg4-*.zip` | TG4 CLI + `module.yaml` template |
|
||||
| `SHA256SUMS-modules.txt` | Checksums |
|
||||
|
||||
Unpack each zip into `modules/<name>/`. Fill sensitive fields in
|
||||
`module.yaml`. Host `drm` is released separately on `v*` tags.
|
||||
Phone capture still needs Magisk + `drm proxy install-ca --reinject`.
|
||||
Loading…
Add table
Add a link
Reference in a new issue