update codeql #25
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Integration | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: windows-latest | |
continue-on-error: true | |
timeout-minutes: 360 | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Machine setup | |
shell: pwsh | |
run: ./scripts/machine-setup.ps1 | |
- name: Restore NuGet packages | |
working-directory: ${{ github.workspace }} | |
run: | | |
nuget restore ./MAPIInspector/Source/MAPIInspector.sln | |
nuget restore ./MAPIInspector/Test/MAPIAutomationTest/MAPIAutomationTest.sln | |
nuget restore ./FSSHTTPWOPIInspector/Source/FSSHTTPandWOPIInspector.sln | |
nuget restore ./FSSHTTPWOPIInspector/Test/WOPIautomation/WOPIautomation.sln | |
- name: "Build MAPIInspector" | |
shell: pwsh | |
run: | | |
$path = & "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -property installationPath | |
& $path\MSBuild\Current\Bin\amd64\msbuild.exe /m /p:Configuration="Release" ./MAPIInspector/Source/MAPIInspector.sln | |
- name: "Build MAPIAutomationTest" | |
shell: pwsh | |
run: | | |
$path = & "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -property installationPath | |
& $path\MSBuild\Current\Bin\amd64\msbuild.exe /m /p:Configuration="Release" ./MAPIInspector/Test/MAPIAutomationTest/MAPIAutomationTest.sln | |
- name: "Build FSSHTTPandWOPIInspector" | |
shell: pwsh | |
run: | | |
$path = & "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -property installationPath | |
& $path\MSBuild\Current\Bin\amd64\msbuild.exe /m /p:Configuration="Release" ./FSSHTTPWOPIInspector/Source/FSSHTTPandWOPIInspector.sln | |
- name: "Build WOPIautomation" | |
shell: pwsh | |
run: | | |
$path = & "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -property installationPath | |
& $path\MSBuild\Current\Bin\amd64\msbuild.exe /m /p:Configuration="Release" ./FSSHTTPWOPIInspector/Test/WOPIautomation/WOPIautomation.sln | |
- name: Publish Artifacts | |
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 | |
with: | |
name: build-artifacts | |
path: | | |
.\MAPIInspector\Source\bin\Release\MAPIFiddlerInspector.dll | |
.\MAPIInspector\Source\bin\Release\MAPIFiddlerInspector.pdb | |
.\FSSHTTPWOPIInspector\Source\bin\Release\FSSHTTPandWOPIFiddlerInspector.dll | |
.\FSSHTTPWOPIInspector\Source\bin\Release\FSSHTTPandWOPIFiddlerInspector.pdb |