Add Update container
step
Since the Arch Linux OCI image can sometimes be out-of-sync, update the keyring and base packages prior to installing the requisite packages. This will hopefully ensure a cached container image can no longer trigger a pipeline failure.
This commit is contained in:
parent
293ebaa788
commit
1287f1eb60
2 changed files with 18 additions and 6 deletions
|
@ -22,8 +22,10 @@ jobs:
|
|||
toolchain:
|
||||
- nightly
|
||||
steps:
|
||||
- name: Update container
|
||||
run: pacman -Sy archlinux-keyring --noconfirm --needed && pacman -Su --noconfirm
|
||||
- name: Install packages
|
||||
run: pacman -Syu git nodejs rustup --noconfirm
|
||||
run: pacman -S git nodejs rustup --noconfirm
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Install toolchain
|
||||
|
@ -42,8 +44,10 @@ jobs:
|
|||
env:
|
||||
PACWRAP_SCHEMA_BUILT: 0
|
||||
steps:
|
||||
- name: Update container
|
||||
run: pacman -Sy archlinux-keyring --noconfirm --needed && pacman -Su --noconfirm
|
||||
- name: Install packages
|
||||
run: pacman -Syu base-devel bubblewrap busybox fakechroot fakeroot git nodejs rustup --noconfirm
|
||||
run: pacman -S base-devel git nodejs rustup --noconfirm
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Install toolchain
|
||||
|
@ -62,8 +66,10 @@ jobs:
|
|||
toolchain:
|
||||
- stable
|
||||
steps:
|
||||
- name: Update container
|
||||
run: pacman -Sy archlinux-keyring --noconfirm --needed && pacman -Su --noconfirm
|
||||
- name: Install packages
|
||||
run: pacman -Syu base-devel bubblewrap busybox fakechroot fakeroot git nodejs rustup --noconfirm
|
||||
run: pacman -S base-devel bubblewrap busybox fakechroot fakeroot git nodejs rustup --noconfirm
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Install toolchain
|
||||
|
|
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
|
@ -26,8 +26,10 @@ jobs:
|
|||
toolchain:
|
||||
- nightly
|
||||
steps:
|
||||
- name: Update container
|
||||
run: pacman -Sy archlinux-keyring --noconfirm --needed && pacman -Su --noconfirm
|
||||
- name: Install packages
|
||||
run: pacman -Syu git nodejs rustup --noconfirm
|
||||
run: pacman -S git nodejs rustup --noconfirm
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Install toolchain
|
||||
|
@ -46,8 +48,10 @@ jobs:
|
|||
env:
|
||||
PACWRAP_SCHEMA_BUILT: 0
|
||||
steps:
|
||||
- name: Update container
|
||||
run: pacman -Sy archlinux-keyring --noconfirm --needed && pacman -Su --noconfirm
|
||||
- name: Install packages
|
||||
run: pacman -Syu base-devel bubblewrap busybox fakechroot fakeroot git nodejs rustup --noconfirm
|
||||
run: pacman -S base-devel git nodejs rustup --noconfirm
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Install toolchain
|
||||
|
@ -66,8 +70,10 @@ jobs:
|
|||
toolchain:
|
||||
- stable
|
||||
steps:
|
||||
- name: Update container
|
||||
run: pacman -Sy archlinux-keyring --noconfirm --needed && pacman -Su --noconfirm
|
||||
- name: Install packages
|
||||
run: pacman -Syu base-devel bubblewrap busybox fakechroot fakeroot git nodejs rustup --noconfirm
|
||||
run: pacman -S base-devel bubblewrap busybox fakechroot fakeroot git nodejs rustup --noconfirm
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Install toolchain
|
||||
|
|
Loading…
Reference in a new issue