scripts: don't refresh the pacman repository on Arch (#12194)

Fixes #12186

Signed-off-by: Chris Palmer <cpalmer@tailscale.com>
Co-authored-by: Chris Palmer <cpalmer@tailscale.com>
pull/12700/head
Chris Palmer 5 months ago committed by GitHub
parent 732af2f6e0
commit 59936e6d4a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -67,6 +67,11 @@ jobs:
image: ${{ matrix.image }}
options: --user root
steps:
- name: install dependencies (pacman)
# Refresh the package databases to ensure that the tailscale package is
# defined.
run: pacman -Sy
if: contains(matrix.image, 'archlinux')
- name: install dependencies (yum)
# tar and gzip are needed by the actions/checkout below.
run: yum install -y --allowerasing tar gzip ${{ matrix.deps }}

@ -513,7 +513,6 @@ main() {
;;
pacman)
set -x
$SUDO pacman -Sy
$SUDO pacman -S tailscale --noconfirm
$SUDO systemctl enable --now tailscaled
set +x

Loading…
Cancel
Save