version 9.3.4 #157
Workflow file for this run
This file contains hidden or 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: Build | |
| on: | |
| push: | |
| tags: | |
| - '*' | |
| jobs: | |
| build: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Setup MSBuild | |
| uses: microsoft/setup-msbuild@v1.3.1 | |
| - name: Setup VS Dev Environment | |
| uses: seanmiddleditch/gha-setup-vsdevenv@v4 | |
| - name: Setup NuGet | |
| uses: NuGet/setup-nuget@v1.0.5 | |
| - name: Navigate to Workspace | |
| run: cd $GITHUB_WORKSPACE | |
| - name: Restore Packages | |
| run: dotnet restore dcs-dtc/DTC.csproj | |
| - name: Disable Out of Process Building | |
| run: .\DisableOutOfProcBuild.exe | |
| working-directory: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\CommonExtensions\Microsoft\VSI\DisableOutOfProcBuild | |
| - name: Build Solution | |
| run: | | |
| dotnet publish -c Release -p:PublishProfile=FolderProfile dcs-dtc\DTC.csproj | |
| - name: Build the Installer | |
| run: DevEnv installer/installer.vdproj /build Release | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: build-result | |
| path: installer/Release/dtc-setup.msi | |
| - name: Upload binaries to release | |
| uses: svenstaro/upload-release-action@v2 | |
| with: | |
| repo_token: ${{ secrets.GITHUB_TOKEN }} | |
| file: installer/Release/dtc-setup.msi | |
| asset_name: dtc-setup-${{ github.ref_name }}.msi | |
| tag: ${{ github.ref }} | |
| overwrite: true |