name: ocenaudio update on: schedule: - cron: "40 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