InveighZero icon indicating copy to clipboard operation
InveighZero copied to clipboard

Github Actions Build

Open InitRoot opened this issue 5 years ago • 2 comments

Working Git Actions build available on my fork. Possible build code that can be used:

name: Build Inveigh
 
on: [push]
 
jobs:
  build:
 
    runs-on: windows-latest
 
    steps:
    - uses: actions/checkout@v1
      name: Checkout Code
     
    - name: Setup MSBuild Path
      uses:  warrenbuckley/Setup-MSBuild@v1
       
    - name: Setup NuGet
      uses: NuGet/[email protected]

    - name: Restore NuGet Packages
      run: nuget restore Inveigh.sln
 
    - name: Build App
      run: msbuild Inveigh.sln /p:Configuration=Release /p:DeployOnBuild=true /p:PublishProfile=FolderProfile
 
    - name: Upload artifact
      uses: actions/upload-artifact@v2
      with:
        name: Inveigh
        path: "D:/a/InveighZero/InveighZero/Inveigh/obj/Debug/"

InitRoot avatar Jul 17 '20 03:07 InitRoot

If you are building release, wouldn't it be in the Inveigh/Release folder rather than Debug upon successful build?

mubix avatar Nov 30 '20 19:11 mubix

Yep, this just an example, feel free to change.

InitRoot avatar Dec 01 '20 12:12 InitRoot