From d4f88bc92d9fff89a5b8c26671534dd14ad9bcc4 Mon Sep 17 00:00:00 2001 From: Jordan Wages Date: Wed, 14 Apr 2021 11:09:20 -0500 Subject: [PATCH 1/7] Update codeql-analysis.yml turns out i was not closer. --- .github/workflows/codeql-analysis.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index a484e18..18432cf 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -51,13 +51,18 @@ jobs: # If this step fails, then you should remove it and run the build manually (see below) #- name: Autobuild # uses: github/codeql-action/autobuild@v1 - - name: Setup .Net - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '3.1.x' # SDK Version to use; x will use the latest version of the 3.1 channel + + - name: Setup MSBuild Path + uses: warrenbuckley/Setup-MSBuild@v1 - - name : Build - run: dotnet build butterflow-ui/butterflow-ui.csproj + - name: Setup NuGet + uses: NuGet/setup-nuget@v1.0.2 + + - name: Restore NuGet Packages + run: nuget restore butterflow-ui/butterflow-ui.sln + + - name: Build and Publish Web App + run: msbuild butterflow-ui/butterflow-ui.sln # â„šī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl From 8458f3b72cb42739b1ca61cbf56fb2d9fa30c730 Mon Sep 17 00:00:00 2001 From: Jordan Wages Date: Wed, 14 Apr 2021 11:11:28 -0500 Subject: [PATCH 2/7] Update codeql-analysis.yml running msbuild on ubuntu. what was i thinking? --- .github/workflows/codeql-analysis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 18432cf..8dd43a6 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -23,7 +23,7 @@ on: jobs: analyze: name: Analyze - runs-on: ubuntu-latest + runs-on: windows-latest strategy: fail-fast: false From 85ebb66bd0b124ea34684b55f009c08c39084530 Mon Sep 17 00:00:00 2001 From: Jordan Wages Date: Wed, 14 Apr 2021 11:20:08 -0500 Subject: [PATCH 3/7] Update codeql-analysis.yml --- .github/workflows/codeql-analysis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 8dd43a6..66d0921 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -53,7 +53,7 @@ jobs: # uses: github/codeql-action/autobuild@v1 - name: Setup MSBuild Path - uses: warrenbuckley/Setup-MSBuild@v1 + uses: microsoft/Setup-MSBuild@v1 - name: Setup NuGet uses: NuGet/setup-nuget@v1.0.2 From f3c51afe44a4314e91368af1431e301050aaed4d Mon Sep 17 00:00:00 2001 From: Jordan Wages Date: Wed, 14 Apr 2021 11:22:45 -0500 Subject: [PATCH 4/7] Update codeql-analysis.yml f --- .github/workflows/codeql-analysis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 66d0921..12a803e 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -55,11 +55,11 @@ jobs: - name: Setup MSBuild Path uses: microsoft/Setup-MSBuild@v1 - - name: Setup NuGet - uses: NuGet/setup-nuget@v1.0.2 + #- name: Setup NuGet + # uses: NuGet/setup-nuget@v1.0.2 - - name: Restore NuGet Packages - run: nuget restore butterflow-ui/butterflow-ui.sln + #- name: Restore NuGet Packages + # run: nuget restore butterflow-ui/butterflow-ui.sln - name: Build and Publish Web App run: msbuild butterflow-ui/butterflow-ui.sln From 0d4ecffaa7a49a38a0dd702e502e565c49bdb9c3 Mon Sep 17 00:00:00 2001 From: Jordan Wages Date: Wed, 14 Apr 2021 11:26:37 -0500 Subject: [PATCH 5/7] Update codeql-analysis.yml ? --- .github/workflows/codeql-analysis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 12a803e..4320038 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -55,11 +55,11 @@ jobs: - name: Setup MSBuild Path uses: microsoft/Setup-MSBuild@v1 - #- name: Setup NuGet - # uses: NuGet/setup-nuget@v1.0.2 + - name: Setup NuGet + uses: NuGet/setup-nuget@v1.0.4 - #- name: Restore NuGet Packages - # run: nuget restore butterflow-ui/butterflow-ui.sln + - name: Restore NuGet Packages + run: nuget restore butterflow-ui/butterflow-ui.sln - name: Build and Publish Web App run: msbuild butterflow-ui/butterflow-ui.sln From 1d91d964d276387557afe7bab68a030645504c3f Mon Sep 17 00:00:00 2001 From: Jordan Wages Date: Wed, 14 Apr 2021 11:29:33 -0500 Subject: [PATCH 6/7] Update codeql-analysis.yml ?? --- .github/workflows/codeql-analysis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 4320038..8eca464 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -55,8 +55,8 @@ jobs: - name: Setup MSBuild Path uses: microsoft/Setup-MSBuild@v1 - - name: Setup NuGet - uses: NuGet/setup-nuget@v1.0.4 + #- name: Setup NuGet + # uses: NuGet/setup-nuget@v1.0.4 - name: Restore NuGet Packages run: nuget restore butterflow-ui/butterflow-ui.sln From f11dbebdec8f28d924acdc619c35b6d133494de8 Mon Sep 17 00:00:00 2001 From: Jordan Wages Date: Wed, 14 Apr 2021 11:35:31 -0500 Subject: [PATCH 7/7] Update codeql-analysis.yml github troubleshooting says i need this --- .github/workflows/codeql-analysis.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 8eca464..bfa5143 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -17,8 +17,6 @@ on: pull_request: # The branches below must be a subset of the branches above branches: [ master ] - schedule: - - cron: '31 15 * * 5' jobs: analyze: @@ -62,7 +60,7 @@ jobs: run: nuget restore butterflow-ui/butterflow-ui.sln - name: Build and Publish Web App - run: msbuild butterflow-ui/butterflow-ui.sln + run: msbuild /p:UseSharedCompilation=false butterflow-ui/butterflow-ui.sln # â„šī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl