{"id":19789512,"url":"https://github.com/webfreak001/dub-upgrade","last_synced_at":"2026-05-02T22:02:59.752Z","repository":{"id":44818772,"uuid":"284113488","full_name":"WebFreak001/dub-upgrade","owner":"WebFreak001","description":"Run `dub upgrade` trying to repeat on network failure and using package cache on GitHub Actions","archived":false,"fork":false,"pushed_at":"2023-07-11T03:38:02.000Z","size":2464,"stargazers_count":1,"open_issues_count":6,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-11T04:12:58.224Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WebFreak001.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-07-31T19:25:27.000Z","updated_at":"2022-01-22T13:40:26.000Z","dependencies_parsed_at":"2024-01-03T01:30:19.173Z","dependency_job_id":null,"html_url":"https://github.com/WebFreak001/dub-upgrade","commit_stats":{"total_commits":22,"total_committers":2,"mean_commits":11.0,"dds":0.09090909090909094,"last_synced_commit":"200dff9e19c13b314137d569e19465006419759a"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebFreak001%2Fdub-upgrade","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebFreak001%2Fdub-upgrade/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebFreak001%2Fdub-upgrade/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebFreak001%2Fdub-upgrade/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WebFreak001","download_url":"https://codeload.github.com/WebFreak001/dub-upgrade/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241126377,"owners_count":19914001,"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":"2024-11-12T06:33:48.250Z","updated_at":"2026-05-02T22:02:59.734Z","avatar_url":"https://github.com/WebFreak001.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dub-upgrade\n\nGitHub Actions CI Action to run `dub upgrade --missing-only --sub-packages` with automatic retry on network failure and caching package downloads and optionally also compiled library binaries across builds using dub's native caching functionality.\n\n## v0.2 -\u003e v0.3 Changes\n\nThe action no longer runs `dub upgrade` to fetch the latest version from DUB without any `args` passed in. It now runs `dub upgrade --missing-only --sub-packages` which has 2 key differences:\n\n* Only the version specified in `dub.selections.json` is fetched now (no longer changing the version of the lockfile)\n* All sub-packages are also fetched automatically now\n\nThis can be configured using `args` like described below.\n\n## Usage\n\nBasic usage (including cache):\n```yml\nsteps:\n  - uses: actions/checkout@v5\n\n  - uses: dlang-community/setup-dlang@v2 # install D compiler \u0026 DUB\n    with:\n      compiler: dmd-latest\n\n  - uses: WebFreak001/dub-upgrade@v0.3.0\n\n  - name: Run tests # do whatever with fetched dependencies\n    run: dub test\n```\n\nNot using cache, only retrying on network failure:\n```yml\nsteps:\n  - uses: actions/checkout@v5\n\n  - uses: dlang-community/setup-dlang@v2 # install D compiler \u0026 DUB\n    with:\n      compiler: dmd-latest\n\n  - uses: WebFreak001/dub-upgrade@v0.3.0\n    with:\n      cache: false\n\n  - name: Run tests # do whatever with fetched dependencies\n    run: dub test\n```\n\nOld behavior, not respecting dub.selections.json:\n```yml\nsteps:\n  - uses: actions/checkout@v5\n\n  - uses: dlang-community/setup-dlang@v2 # install D compiler \u0026 DUB\n    with:\n      compiler: dmd-latest\n\n  - uses: WebFreak001/dub-upgrade@v0.3.0\n    with:\n      args: ''\n\n  - name: Run tests # do whatever with fetched dependencies\n    run: dub test\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebfreak001%2Fdub-upgrade","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebfreak001%2Fdub-upgrade","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebfreak001%2Fdub-upgrade/lists"}