]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
add set-ubuntu-mirror action that we can use to globally switch to a different mirror
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Fri, 13 Jan 2023 17:58:02 +0000 (18:58 +0100)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Fri, 13 Jan 2023 18:44:01 +0000 (19:44 +0100)
set-ubuntu-mirror/action.yml [new file with mode: 0644]

diff --git a/set-ubuntu-mirror/action.yml b/set-ubuntu-mirror/action.yml
new file mode 100644 (file)
index 0000000..8263365
--- /dev/null
@@ -0,0 +1,8 @@
+name: 'choose Ubuntu mirror for PowerDNS builds in Github Actions'
+runs:
+  using: "composite"
+  steps:
+    - run: echo not changing mirror, using default Azure mirror
+      shell: bash
+    #- run: sudo sed -i 's/azure\.archive\.ubuntu\.com/mirror.leaseweb.net/' /etc/apt/sources.list
+    #  shell: bash