Skip to content

Commit 3112908

Browse files
committed
Mirror Arch Linux's linux PKGBUILD
They have also put their Gitlab behind Anubis so attempting to fetch the Arch Linux configuration during the build stage fails. Signed-off-by: Nathan Chancellor <nathan@kernel.org>
1 parent eee2d0f commit 3112908

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/mirror.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ on:
44
- cron: "0 */6 * * *"
55
workflow_dispatch:
66
jobs:
7+
linux_pkgbuild:
8+
name: linux_pkgbuild
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Clone linux PKGBUILD
12+
run: git clone --bare https://gitlab.archlinux.org/archlinux/packaging/packages/linux.git .
13+
- name: Mirror linux PKGBUILD
14+
run: git push --mirror "https://token:$MIRRORING_TOKEN@github.com/ClangBuiltLinux/linux_pkgbuild.git"
15+
env:
16+
MIRRORING_TOKEN: ${{ secrets.MIRRORING_TOKEN }}
717
rpms_kernel:
818
name: rpms/kernel
919
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)