Skip to content

Conversation

@eonist
Copy link
Member

@eonist eonist commented Nov 29, 2025

Summary

Adds a GitHub Actions workflow that tracks and reports release asset download counts.

What it does

  • Runs daily at 02:00 UTC (configurable via schedule)
  • Can be triggered manually via workflow_dispatch
  • Uses gh api to query the GitHub Releases API for all releases
  • Aggregates download counts across all assets
  • Outputs both total downloads and per-release breakdowns to the workflow summary

Benefits

  • Track adoption trends across releases
  • Understand which platforms are most popular (Linux x64/arm64, macOS, Windows)
  • Validate impact of new features
  • Historical data via daily snapshots in workflow runs

Implementation

  • Uses GitHub CLI (gh api) with built-in authentication
  • Requires no secrets beyond the default GITHUB_TOKEN
  • Follows GitHub Actions best practices for scheduled workflows
  • Output appears in the workflow run summary for easy access

Related discussion about measuring GitHub release downloads and tracking distribution metrics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants