{"id":28561104,"url":"https://github.com/perfectslayer/download-release-action","last_synced_at":"2025-06-10T10:14:07.453Z","repository":{"id":60202634,"uuid":"530140804","full_name":"PerfectSlayer/download-release-action","owner":"PerfectSlayer","description":"Update download releases to latest available","archived":false,"fork":false,"pushed_at":"2023-03-06T16:14:22.000Z","size":1582,"stargazers_count":2,"open_issues_count":5,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-01T20:04:59.337Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PerfectSlayer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-08-29T08:58:59.000Z","updated_at":"2024-03-08T05:10:05.000Z","dependencies_parsed_at":"2023-02-16T20:32:00.048Z","dependency_job_id":null,"html_url":"https://github.com/PerfectSlayer/download-release-action","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":"actions/typescript-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerfectSlayer%2Fdownload-release-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerfectSlayer%2Fdownload-release-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerfectSlayer%2Fdownload-release-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerfectSlayer%2Fdownload-release-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PerfectSlayer","download_url":"https://codeload.github.com/PerfectSlayer/download-release-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerfectSlayer%2Fdownload-release-action/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259054151,"owners_count":22798450,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-10T10:14:06.196Z","updated_at":"2025-06-10T10:14:07.444Z","avatar_url":"https://github.com/PerfectSlayer.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Download Release Action\n\nThis GitHub action updates meta releases, called _download releases_, to always provide the latest version for download.  \n\n## Principle\n\nThe action scans for published non-draft releases with tags `vX.Y.Z`, find the latest for each major `X` version, and ensure the related _download releases_ tagged `download-latest_vX` and `download-latest` refer to their latest versions.\nIf not, it downloads the `dd-java-agent.jar `attachment from the latest version, upload it to the _download releases_ and update their bodies to refer to their latest versions.\n\n## Usage\n\nAdd the action in your workflow as any other action: \n\n```yaml\njobs:\n  update-download-release:\n    name: Update download releases\n    runs-on: ubuntu-latest\n    steps:\n      - name: Update releases\n        uses: DataDog/download-release-action@latest\n```\n\nThe action has two inputs:\n* `github-token` to provide a custom GitHub token (default `${{ github.token }}`),\n* `debug` to log all GitHub client calls (default `false`).\n\nThey can be configured with a `with` map:\n```yaml\n- name: Update releases\n  uses: DataDog/download-release-action@latest\n  with:\n    - github-token: ${{ env.MY_TOKEN }}\n    - debug: true\n```\n\n## Development\n\n\u003e First, you'll need to have a reasonably modern version of `node` handy. This won't work with versions older than 16, for instance.\n\nInstall the dependencies  \n```bash\n$ npm install\n```\n\nBuild the typescript and package it for distribution\n```bash\n$ npm run build \u0026\u0026 npm run package\n```\n\nRun the tests :heavy_check_mark:  \n```\n$ npm test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperfectslayer%2Fdownload-release-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fperfectslayer%2Fdownload-release-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperfectslayer%2Fdownload-release-action/lists"}