Skip to content

devenv

devenv #5

Workflow file for this run

name: ODM
on:
push:
branches: [ "ak/automate-build" ]
pull_request:
branches: [ "ak/automate-build" ]
jobs:
build:
runs-on: windows-2022
env:
Solution_Name: odm.sln # Replace with your solution name, i.e. MyWpfApp.sln.
steps:
- name: Setup VS Dev Environment
uses: seanmiddleditch/gha-setup-vsdevenv@v4
- name: DisableOutOfProcBuild
working-directory: ${{env.DevEnvDir}}\CommonExtensions\Microsoft\VSI\DisableOutOfProcBuild
run: DisableOutOfProcBuild.exe
continue-on-error: true
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: build application
run: devenv ${{ env.Solution_Name }} /Build "Release|x64" /Project odm.ui.app
- name: collect artifacts
run: package.bat
shell: cmd
- name: upload artifacts
uses: actions/upload-artifact@v4
with:
name: odm-build-zip
path: build/
- name: build installer
run: devenv ${{ env.Solution_Name }} /Build "Release|x64" /Project odm.setup
shell: cmd
- name: upload installer
uses: actions/upload-artifact@v4
with:
name: odm-installer
path: odm.setup/Release/odm.setup.msi