File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -15,21 +15,21 @@ jobs:
15
15
steps :
16
16
- uses : actions/checkout@v2
17
17
18
- - name : Run build script
19
- run : ./Build.ps1
20
-
21
- - name : Get version variable
18
+ - name : Read version from csproj
22
19
run : |
23
20
$selectResult = Select-String -Path ".\src\Serilog.Sinks.MSSqlServer\Serilog.Sinks.MSSqlServer.csproj" -Pattern '<VersionPrefix>(.+)</VersionPrefix>'
24
21
echo ("VERSION=" + $selectResult.Matches[0].Groups[1].Value) >> $env:GITHUB_ENV
22
+
23
+ - name : Run build script
24
+ run : ./Build.ps1
25
25
26
26
- name : Create releease
27
27
uses : " marvinpinto/action-automatic-releases@latest"
28
28
with :
29
29
repo_token : " ${{ secrets.GITHUB_TOKEN }}"
30
30
automatic_release_tag : " v${{ env.VERSION }}-test"
31
- prerelease : true
31
+ draft : true
32
32
title : " Release ${{ env.VERSION }}-test"
33
33
files : |
34
- artifacts\Serilog.Sinks.MSSqlServer. *.nupkg
35
- artifacts\Serilog.Sinks.MSSqlServer.* .snupkg
34
+ .\ artifacts\*.nupkg
35
+ .\ artifacts\Serilog.Sinks.MSSqlServer.5.7.0-dev-local .snupkg
You can’t perform that action at this time.
0 commit comments