name: opencode-desktop-bin on: workflow_dispatch: inputs: version: description: "Version to publish (may include leading v); empty means detect the latest" required: false default: "" push: branches: - "master" schedule: # OpenCode releases several times a day; hourly is enough. # Avoid running at the same minute as the yandex-music workflow. - cron: "15 * * * *" concurrency: group: opencode-desktop-bin cancel-in-progress: false jobs: update: uses: ./.gitea/workflows/github-release.yaml with: repository: anomalyco/opencode atom: dev-util/opencode-desktop-bin assets: opencode-desktop-linux-amd64.deb keep: "3" version: ${{ inputs.version || '' }} secrets: inherit