actions-marketplace-validations/Configure fast APT mirror
Configures a fast APT mirror in Ubuntu runners, e.g. in case azure.archive.ubuntu.com is slow or unreachable.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit May 13, 2026
- License
- Apache 2.0
Pinned Snippet
uses: actions-marketplace-validations/vegardit_fast-apt-mirror.sh@806c59276adfff2df420124ad5e4587f018c358a # no releases — HEAD as of 2026-07-13tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| healthchecks | Number of mirrors from the mirrors list to check for availability and up-to-dateness. | — | 20 |
| speedtests | Maximum number of healthy mirrors to test for speed. | — | 10 |
| parallel | Number of parallel speed tests. May result in incorrect results because of competing connections but finds a suitable mirror faster. | — | 2 |
| sample-size | Number of kilobytes to download during the speed from each mirror. | — | 1024 |
| sample-time | Maximum number of seconds within the sample download from a mirror must finish. | — | 3 |
| exclude-current | Don't include the current APT mirror in the speed tests. | — | false |
| country | The country code to use for selecting mirrors. NOTE: Only applies to Ubuntu based distros. Defaults to http://mirrors.ubuntu.com/mirrors.txt | — | "" |
| configure-mirror | Whether to configure the APT mirror: auto, true, or false. In auto mode, local Act runs are skipped unless running under Forgejo or Gitea Actions. | — | auto |
Outputs
no outputs