Skip to content

Commit

Permalink
scripts: don't refresh the pacman repository on Arch
Browse files Browse the repository at this point in the history
Fixes #12186

Signed-off-by: Chris Palmer <cpalmer@tailscale.com>
  • Loading branch information
Chris Palmer committed May 21, 2024
1 parent c9179bc commit b0c423f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,13 @@ jobs:
image: ${{ matrix.image }}
options: --user root
steps:
- name: install dependencies (pacman)
# Refresh the package databases to ensure that the tailscale package is
# defined. Also, tar and gzip are needed by the actions/checkout below.
run: |
pacman -Sy
pacman -S tar gzip --noconfirm
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 }}
Expand Down
1 change: 0 additions & 1 deletion scripts/installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,6 @@ main() {
;;
pacman)
set -x
$SUDO pacman -Sy
$SUDO pacman -S tailscale --noconfirm
$SUDO systemctl enable --now tailscaled
set +x
Expand Down

0 comments on commit b0c423f

Please sign in to comment.