summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2021-05-18 14:47:56 -0400
committerTavian Barnes <tavianator@tavianator.com>2021-05-18 14:52:37 -0400
commit3485a1350672795a9fe3300b5a5a95c2bb02f495 (patch)
tree0ea50379bf2d7ec2fa899bf26955a93f1400b42e
parente5dbcc35db997ef431a2da90ea1ab7777c29d7d6 (diff)
downloadbfs-3485a1350672795a9fe3300b5a5a95c2bb02f495.tar.xz
ci/freebsd: Use the official tailscale GitHub action
-rw-r--r--.github/workflows/freebsd.yml17
1 files changed, 4 insertions, 13 deletions
diff --git a/.github/workflows/freebsd.yml b/.github/workflows/freebsd.yml
index 1765e30..74148bb 100644
--- a/.github/workflows/freebsd.yml
+++ b/.github/workflows/freebsd.yml
@@ -13,19 +13,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- - name: Install dependencies
- run: |
- curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/focal.gpg | sudo apt-key add -
- curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/focal.list | sudo tee /etc/apt/sources.list.d/tailscale.list
- sudo apt-get update -y
- sudo apt-get install -y tailscale
-
- - name: Configure Tailscale
- env:
- TAILSCALE_KEY: ${{ secrets.TAILSCALE_KEY }}
- run: |
- sudo tailscale up --authkey="$TAILSCALE_KEY"
- tailscale netcheck
+ - uses: tailscale/github-action@main
+ with:
+ authkey: ${{ secrets.TAILSCALE_KEY }}
+ version: 1.8.3
- name: Configure SSH
env: