forked from fsprojects/DynamicsCRMProvider
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cf93088
commit cd69528
Showing
2 changed files
with
72 additions
and
2 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
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,46 @@ | ||
name: dotnet-framework | ||
|
||
# Controls when the action will run. Triggers the workflow on push or pull request | ||
# events but only for the master branch | ||
on: | ||
push: | ||
branches: [ master,migrate-to-github-actions ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
# This workflow contains a single job called "build" | ||
build: | ||
# The type of runner that the job will run on | ||
runs-on: windows-latest | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
|
||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v2 | ||
|
||
# Setup MSBuild | ||
- name: setup MSBuild | ||
uses: microsoft/setup-msbuild@v1 | ||
|
||
# Setup Nuget | ||
- name: Setup NuGet | ||
uses: NuGet/[email protected] | ||
|
||
# Restore Nuget packages for project | ||
- name: Restore Packages | ||
run: nuget restore DynamicsCRMProvider.sln | ||
|
||
# Build project using a specific script | ||
- name: Build | ||
shell: cmd | ||
run: call .\build.cmd | ||
|
||
# Publish artifacts resulted from build | ||
- name: Upload Artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: DLL Build Result | ||
path: ./bin/*.dll |