mirror of
https://github.com/tailscale/github-action.git
synced 2026-08-21 09:49:23 +00:00
Add support for running the action on windows-based GitHub runners. Updates https://github.com/tailscale/github-action/issues/157
32 lines
637 B
YAML
32 lines
637 B
YAML
name: tailscale
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- '*'
|
|
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest]
|
|
runs-on: ${{ matrix.os }}
|
|
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
|
|
|
|
- name: check for hello.ts.net in netmap
|
|
shell: bash
|
|
run:
|
|
tailscale status | grep -q hello
|