profile install should allow this
This commit is contained in:
parent
719383c098
commit
15c363d07b
1 changed files with 2 additions and 2 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
|
@ -34,7 +34,7 @@ jobs:
|
||||||
nix profile install nixpkgs#tailscale
|
nix profile install nixpkgs#tailscale
|
||||||
|
|
||||||
# Start tailscaled daemon in background
|
# Start tailscaled daemon in background
|
||||||
sudo $(nix profile list | grep tailscale | awk '{print $4}')/bin/tailscaled --state=mem: &
|
sudo tailscaled --state=mem: &
|
||||||
|
|
||||||
# Wait for daemon to be ready
|
# Wait for daemon to be ready
|
||||||
sleep 10
|
sleep 10
|
||||||
|
|
@ -44,7 +44,7 @@ jobs:
|
||||||
|| matrix.system == 'aarch64-linux' && 'github-actions-aarch64-linux'
|
|| matrix.system == 'aarch64-linux' && 'github-actions-aarch64-linux'
|
||||||
|| matrix.system == 'x86_64-darwin' && 'github-actions-x86-64-darwin' }}"
|
|| matrix.system == 'x86_64-darwin' && 'github-actions-x86-64-darwin' }}"
|
||||||
|
|
||||||
$(nix profile list | grep tailscale | awk '{print $4}')/bin/tailscale up \
|
tailscale up \
|
||||||
--authkey="${{ secrets.TS_OAUTH_SECRET }}?preauthorized=true&ephemeral=true" \
|
--authkey="${{ secrets.TS_OAUTH_SECRET }}?preauthorized=true&ephemeral=true" \
|
||||||
--hostname="$HOSTNAME" \
|
--hostname="$HOSTNAME" \
|
||||||
--advertise-tags="tag:ci" \
|
--advertise-tags="tag:ci" \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue