mirror of
https://github.com/tailscale/github-action.git
synced 2026-08-20 23:19:24 +00:00
If package or SHA download from pkgs.tailscale.com fails with a non-200 repsonse code, make the whole action fail. This catches things like incorrect versions. Updates #118
29 lines
568 B
YAML
29 lines
568 B
YAML
name: tailscale
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- '*'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out code
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Tailscale Action
|
|
uses: ./
|
|
with:
|
|
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
|
|
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
|
|
tags: tag:ci
|
|
version: 1.64.0
|
|
|
|
- name: check for hello.ts.net in netmap
|
|
run:
|
|
tailscale status | grep -q hello
|