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 4 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 }} image: ${{ matrix.image }}
options: --user root options: --user root
steps: 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) - name: install dependencies (yum)
# tar and gzip are needed by the actions/checkout below. # tar and gzip are needed by the actions/checkout below.
run: yum install -y --allowerasing tar gzip ${{ matrix.deps }} run: yum install -y --allowerasing tar gzip ${{ matrix.deps }}

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

Loading…
Cancel
Save