This repository was archived by the owner on Jun 21, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ # This is a basic workflow to help you get started with Actions
2+
3+ name : CI
4+
5+ env :
6+ config : Release
7+ githubvsSolution : GitHubVS.sln
8+
9+ # Controls when the action will run. Triggers the workflow on push or pull request
10+ # events but only for the master branch
11+ on :
12+ push :
13+ branches : [ master ]
14+ pull_request :
15+ branches : [ master ]
16+
17+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
18+ jobs :
19+ # This workflow contains a single job called "build"
20+ build :
21+ # The type of runner that the job will run on
22+ runs-on : windows-latest
23+
24+ # Steps represent a sequence of tasks that will be executed as part of the job
25+ steps :
26+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
27+ - uses : actions/checkout@v2
28+
29+ - name : Add msbuild to PATH
30+ 31+
32+ - uses : nuget/setup-nuget@v1
33+ with :
34+ nuget-version : ' 5.x'
35+
36+ - name : NuGet restore ${{ env.githubvsSolution }}
37+ run : nuget restore ${{ env.githubvsSolution }}
38+
39+ - name : MSBuild ${{ env.githubvsSolution }}
40+ run : |
41+ msbuild $(env.githubvsSolution) /p:Configuration=${{ env.config }} /p:DeployExtension=False /p:GitHubVS_ClientId=${{ secrets.GitHubVS_ClientId }} /p:GitHubVS_ClientSecret=${{ secrets.GitHubVS_ClientSecret }}
You can’t perform that action at this time.
0 commit comments