{action.yml,.github}: add support for windows

Add support for running the action on windows-based GitHub runners.

Updates https://github.com/tailscale/github-action/issues/157
This commit is contained in:
Mario Minardi 2025-02-13 17:17:33 -07:00
parent 2b498977f3
commit 5dddea1dff
No known key found for this signature in database
2 changed files with 60 additions and 12 deletions

View file

@ -11,7 +11,10 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Check out code
uses: actions/checkout@v2
@ -24,5 +27,6 @@ jobs:
tags: tag:ci
- name: check for hello.ts.net in netmap
shell: bash
run:
tailscale status | grep -q hello