From 90c773488c59e57c19ecca5635c1ae7f70e56076 Mon Sep 17 00:00:00 2001 From: John Parent Date: Tue, 25 Jan 2022 17:29:17 -0500 Subject: Add Github Actions for Windows (#24504) Setup Installer CI (#25184), (#25191) Co-authored-by: Zack Galbreath Co-authored-by: lou.lawrence@kitware.com Co-authored-by: Betsy McPhail --- .github/workflows/setup_git.ps1 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/setup_git.ps1 (limited to '.github/workflows/setup_git.ps1') diff --git a/.github/workflows/setup_git.ps1 b/.github/workflows/setup_git.ps1 new file mode 100644 index 0000000000..19d3b81b97 --- /dev/null +++ b/.github/workflows/setup_git.ps1 @@ -0,0 +1,16 @@ +# (c) 2021 Lawrence Livermore National Laboratory + +Set-Location spack + +git config --global user.email "spack@example.com" +git config --global user.name "Test User" + +if ($(git branch --show-current) -ne "develop") +{ + git branch develop origin/develop +} + +if ($(git branch --show-current) -ne "features/windows-support") +{ + git branch features/windows-support origin/features/windows-support +} -- cgit v1.2.3-60-g2f50