add ocenaudio

This commit is contained in:
2026-04-15 13:26:32 +01:00
parent 2387ae91d6
commit a7195da8e8
3 changed files with 186 additions and 0 deletions
+41
View File
@@ -0,0 +1,41 @@
name: ocenaudio update
on:
schedule:
- cron: "30 3 * * *" # UTC
workflow_dispatch:
jobs:
update-ocenaudio:
runs-on: ubuntu-latest
concurrency:
group: ocenaudio-update
cancel-in-progress: false
steps:
- name: checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: install nix
uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: check latest ocenaudio release and update file
id: update
env:
FILE: modules/pkgs/ocenaudio.nix
shell: bash
run: bash .gitea/scripts/update-ocenaudio-nix.sh
- name: commit and push to main
if: steps.update.outputs.updated == 'true'
shell: bash
run: |
set -euo pipefail
version="${{ steps.update.outputs.version }}"
FILE="modules/pkgs/ocenaudio.nix" \
COMMIT_MESSAGE="update ocenaudio to ${version}" \
bash .gitea/scripts/commit-update-main.sh