File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 14
14
15
15
jobs :
16
16
Build :
17
- # The type of runner that the job will run on
18
17
runs-on : windows-latest
19
- env :
20
- Solution_Name : SampleRevitAddin.sln
21
- outputs :
22
- Version : ${{ steps.gitversion.outputs.nuGetVersionV2 }}
23
- CommitsSinceVersionSource : ${{ steps.gitversion.outputs.CommitsSinceVersionSource }}
24
-
25
18
steps :
26
19
- name : Checkout
27
20
uses : actions/checkout@v2
28
21
with :
29
22
fetch-depth : 0
30
-
31
- # install and calculate the new version with GitVersion
23
+
24
+ # Install .NET Core 3.1 SDK
25
+ - name : Install .NET Core 3.1 SDK
26
+ run : |
27
+ wget https://download.visualstudio.microsoft.com/download/pr/7987e2b2-15c9-4c3d-b9b3-d372fc4d8caa/3fa02be2e8c8712649819e283a2294a7/dotnet-sdk-3.1.416-win-x64.exe
28
+ ./dotnet-sdk-3.1.416-win-x64.exe /quiet
29
+
30
+ # Install GitVersion
32
31
- name : Install GitVersion
33
32
uses : gittools/actions/gitversion/setup@v0.9.7
34
33
with :
39
38
with :
40
39
useConfigFile : true
41
40
configFilePath : GitVersion.yml
41
+ id : gitversion
42
42
43
43
id : gitversion # step id used as reference for output values
44
44
- name : Display GitVersion outputs
You can’t perform that action at this time.
0 commit comments