File tree 1 file changed +9
-4
lines changed
1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 7
7
8
8
jobs :
9
9
build :
10
- runs-on : ubuntu-latest
10
+ runs-on : ubuntu-22.04
11
11
12
12
env :
13
13
COREHOST_TRACE : false
14
14
DOTNET_CLI_TELEMETRY_OPTOUT : 1 # Disable sending usage data to Microsoft
15
15
DOTNET_SKIP_FIRST_TIME_EXPERIENCE : 1 # prevent the caching of the packages on the build machine
16
16
DOTNET_NOLOGO : true # removes logo and telemetry message from first run of dotnet cli
17
17
NUGET_XMLDOC_MODE : skip # prevent the download of the XML documentation for the packages
18
+ DOTNET_SDK_VERSION : 5.0.x
19
+
20
+ defaults :
21
+ run :
22
+ shell : pwsh
18
23
19
24
steps :
20
25
- uses : actions/checkout@v4
@@ -36,22 +41,22 @@ jobs:
36
41
37
42
- name : Setup dotnet tool
38
43
env :
39
- DOTNET_ROOT : ${{ runner.tool_cache }}/dncs/${{ matrix.dotnet }}/x64
44
+ DOTNET_ROOT : ${{ runner.tool_cache }}/dncs/${{ env.DOTNET_SDK_VERSION }}/x64
40
45
run : |
41
- dotnet tool install --global InheritDocTool
46
+ dotnet tool install --global InheritDocTool --version 2.5.2
42
47
echo "$HOME/.dotnet/tools" >> $GITHUB_PATH
43
48
44
49
- name : Restore Nuget packages
45
50
run : dotnet restore -v:n
46
51
47
52
- name : Prepare Release Assets
48
53
id : get-version
54
+ shell : bash
49
55
run : |
50
56
echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
51
57
.github/release-notes.sh CHANGELOG.md > release-notes.txt
52
58
53
59
- name : Creates Nuget package
54
- shell : pwsh
55
60
run : dotnet pack --configuration Release --output ./SignNow.Net/bin/Publish SignNow.Net
56
61
57
62
- name : Create Release
You can’t perform that action at this time.
0 commit comments