Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github Actions Build #2

Open
InitRoot opened this issue Jul 17, 2020 · 2 comments
Open

Github Actions Build #2

InitRoot opened this issue Jul 17, 2020 · 2 comments

Comments

@InitRoot
Copy link

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/"

@mubix
Copy link

mubix commented Nov 30, 2020

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

@InitRoot
Copy link
Author

InitRoot commented Dec 1, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants