From 655b8725a45c1b6513b69afeccc7c0add4f41a00 Mon Sep 17 00:00:00 2001 From: Marty T <120425148+tippmar-nr@users.noreply.github.com> Date: Mon, 13 Jan 2025 16:41:38 -0600 Subject: [PATCH] chore: Minor Dotty tweak (#2946) --- .github/workflows/build_buildtools.yml | 27 +++++++++++++++++++ .../nugetSlackNotifications/Program.cs | 16 ++++------- .../nugetSlackNotifications.csproj | 6 +---- 3 files changed, 33 insertions(+), 16 deletions(-) create mode 100644 .github/workflows/build_buildtools.yml diff --git a/.github/workflows/build_buildtools.yml b/.github/workflows/build_buildtools.yml new file mode 100644 index 000000000..80b46e464 --- /dev/null +++ b/.github/workflows/build_buildtools.yml @@ -0,0 +1,27 @@ +name: Build the Build Tools solution + +on: + pull_request: + branches: + - main + paths: + - 'build/**' + - '.github/workflows/scripts/**' + + workflow_dispatch: + +permissions: + contents: read + +jobs: + build: + runs-on: windows-latest + + steps: + - uses: actions/checkout@v2 + + - name: Add msbuild to PATH (required for MsiInstaller build) + uses: microsoft/setup-msbuild@6fb02220983dee41ce7ae257b6f4d8f9bf5ed4ce # v2.0.0 + + - name: Build the solution + run: MSBuild.exe -restore -m -p:Configuration=Release -p:Platform="Any CPU" build/BuildTools.sln diff --git a/.github/workflows/scripts/nugetSlackNotifications/Program.cs b/.github/workflows/scripts/nugetSlackNotifications/Program.cs index 1a0bde742..dfacde909 100644 --- a/.github/workflows/scripts/nugetSlackNotifications/Program.cs +++ b/.github/workflows/scripts/nugetSlackNotifications/Program.cs @@ -256,25 +256,19 @@ static async Task CreateGithubPullRequestForNewVersions(IEnumerable + Exe @@ -25,8 +25,4 @@ - - - -