Skip to content

Commit c0e127b

Browse files
committed
Adjust github action
1 parent 16a3052 commit c0e127b

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/dev_actions.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,20 @@ on:
1414

1515
jobs:
1616
Build:
17-
# The type of runner that the job will run on
1817
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-
2518
steps:
2619
- name: Checkout
2720
uses: actions/checkout@v2
2821
with:
2922
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
3231
- name: Install GitVersion
3332
uses: gittools/actions/gitversion/setup@v0.9.7
3433
with:
@@ -39,6 +38,7 @@ jobs:
3938
with:
4039
useConfigFile: true
4140
configFilePath: GitVersion.yml
41+
id: gitversion
4242

4343
id: gitversion # step id used as reference for output values
4444
- name: Display GitVersion outputs

0 commit comments

Comments
 (0)