You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/.github/workflows
Aaron Klotz 02f6030dbd tool, tool/gocross: update gocross to support building natively on Windows and add a PowerShell Core wrapper script
gocross-wrapper.ps1 is a PowerShell core script that is essentially a
straight port of gocross-wrapper.sh. It requires PowerShell 7.4, which
is the latest LTS release of PSCore.

Why use PowerShell Core instead of Windows PowerShell? Essentially
because the former is much better to script with and is the edition
that is currently maintained.

Because we're using PowerShell Core, but many people will be running
scripts from a machine that only has Windows PowerShell, go.cmd has
been updated to prompt the user for PowerShell core installation if
necessary.

gocross-wrapper.sh has also been updated to utilize the PSCore script
when running under cygwin or msys.

gocross itself required a couple of updates:

We update gocross to output the PowerShell Core wrapper alongside the
bash wrapper, which will propagate the revised scripts to other repos
as necessary.

We also fix a couple of things in gocross that didn't work on Windows:
we change the toolchain resolution code to use os.UserHomeDir instead
of directly referencing the HOME environment variable, and we fix a
bug in the way arguments were being passed into exec.Command on
non-Unix systems.

Updates https://github.com/tailscale/corp/issues/29940

Signed-off-by: Aaron Klotz <aaron@tailscale.com>
4 months ago
..
checklocks.yml .github/workflows: removes extra '$' 6 months ago
codeql-analysis.yml .github: bump github/codeql-action from 3.29.3 to 3.29.5 (#16765) 5 months ago
docker-file-build.yml .github: Bump actions/checkout from 3.6.0 to 4.2.2 (#14139) 11 months ago
flakehub-publish-tagged.yml .github: Bump actions/checkout from 3.6.0 to 4.2.2 (#14139) 11 months ago
golangci-lint.yml .github/workflows: removes extra '$' 6 months ago
govulncheck.yml .github: Bump slackapi/slack-github-action from 2.1.0 to 2.1.1 (#16553) 5 months ago
installer.yml .github: Bump slackapi/slack-github-action from 2.1.0 to 2.1.1 (#16553) 5 months ago
kubemanifests.yaml .github/workflows: removes extra '$' 6 months ago
natlab-integrationtest.yml .github/workflows: removes extra '$' 6 months ago
pin-github-actions.yml .github/workflows: enforce github action version pinning (#16768) 5 months ago
request-dataplane-review.yml .github/workflows: request @tailscale/dataplane review DERP changes (#16372) 6 months ago
ssh-integrationtest.yml .github/workflows: removes extra '$' 6 months ago
test.yml tool, tool/gocross: update gocross to support building natively on Windows and add a PowerShell Core wrapper script 4 months ago
update-flake.yml flake.lock/go.mod.sri: update flake version info (#16631) 5 months ago
update-webclient-prebuilt.yml .github/workflows: replace tibdex with official GitHub Action (#16385) 6 months ago
webclient.yml .github/workflows: removes extra '$' 6 months ago