We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31d7916 commit 211393aCopy full SHA for 211393a
action.yml
@@ -48,6 +48,10 @@ inputs:
48
description: "Allow use of alternative apt mirrors"
49
required: false
50
default: "false"
51
+ apt-mirror-country:
52
+ description: "Location of the apt mirror to use (if using GitHub cloud runners, select 'US')"
53
+ required: false
54
+ default: "US"
55
56
runs:
57
using: "composite"
@@ -180,7 +184,7 @@ runs:
180
184
if [[ ${{ inputs.allow-apt-mirrors }} == 'true' ]]; then
181
185
# Select alternative apt mirror
182
186
sudo gem install apt-spy2
183
- sudo apt-spy2 fix --commit --launchpad --country=US
187
+ sudo apt-spy2 fix --commit --launchpad --country=${{ inputs.apt-mirror-country }}
188
sudo apt-get update
189
fi
190
0 commit comments