93578d5edc
ocenaudio update / update-ocenaudio (push) Successful in 6s
helium update / update-helium (push) Successful in 12s
handy update / update-handy (push) Successful in 8s
zen browser update / update-zen-browser (push) Successful in 8s
t3code update / update-t3code (push) Successful in 19s
42 lines
1.0 KiB
YAML
42 lines
1.0 KiB
YAML
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
|