Files
ratigorsk-auto/.gitea/workflows/yandex-music.yaml
Petr Polezhaev ffff17200a
All checks were successful
yandex-music / check-and-update (push) Successful in 5m40s
Remove the pkgcheck for now to fix the docker races
2026-02-06 02:01:43 +03:00

52 lines
1.5 KiB
YAML

name: yandex-music
on:
workflow_dispatch:
push:
branches:
- "master"
- "actions"
tags:
- "v*"
schedule:
- cron: "0 * * * *"
jobs:
check-and-update:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Fetch update manifest
uses: ./.gitea/actions/fetch-electron-update
id: manifest
with:
url: https://desktop.app.music.yandex.net/stable/latest-linux.yml
- name: Remove deprecated ebuilds
uses: ./.gitea/actions/drop-ebuilds-matching
id: cleanup
with:
atom: media-sound/yandex-music
condition: ${{steps.manifest.outputs.deprecated_versions}}
- name: Create ebuild for latest version
uses: ./.gitea/actions/copy-latest-ebuild-as
id: latest
with:
atom: media-sound/yandex-music
version: ${{steps.manifest.outputs.version}}
- name: Build new manifests
uses: ./.gitea/actions/pkgdev-manifest
- name: Commit changes
uses: EndBug/add-and-commit@v9
if: ${{steps.latest.outputs.message != '' || steps.cleanup.outputs.message != ''}}
with:
add: media-sound/yandex-music
author_name: Automation
author_email: noreply@ratigorsk-12.ru
message: ${{ format('media-sound/yandex-music {0} {1}', steps.cleanup.outputs.message, steps.latest.outputs.message) }}
push: true