-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from karelmaxa/build-pipeline
Add build pipeline
- Loading branch information
Showing
5 changed files
with
115 additions
and
61 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Build | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-2019 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install .NET Core | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: 6.0.x | ||
|
||
- name: Setup MSBuild | ||
uses: microsoft/setup-msbuild@v2 | ||
|
||
- name: Setup NuGet | ||
uses: nuget/setup-nuget@v2 | ||
|
||
- name: Install external dependencies | ||
run: | | ||
nuget install MSBuildTasks -Version 1.5.0.235 | ||
nuget install NUnit.Runners -Version 2.6.7 | ||
- name: Install project dependencies | ||
run: nuget restore ConnectorFramework.sln | ||
|
||
- name: Build project | ||
run: msbuild ConnectorFramework.sln /p:Configuration=Release | ||
|
||
- name: Upload built artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: wrenicf-dotnet-framework | ||
path: | | ||
ServiceInstall\bin\Release\openicf-*.zip | ||
ServiceInstall\bin\Release\openicf-*.msi |
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
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
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
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