Skip to content

Commit 9e7a1ce

Browse files
committed
Update main.yml
Debug release files upload in github action.
1 parent 2d04cfa commit 9e7a1ce

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,21 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v2
1717

18-
- name: Run build script
19-
run: ./Build.ps1
20-
21-
- name: Get version variable
18+
- name: Read version from csproj
2219
run: |
2320
$selectResult = Select-String -Path ".\src\Serilog.Sinks.MSSqlServer\Serilog.Sinks.MSSqlServer.csproj" -Pattern '<VersionPrefix>(.+)</VersionPrefix>'
2421
echo ("VERSION=" + $selectResult.Matches[0].Groups[1].Value) >> $env:GITHUB_ENV
22+
23+
- name: Run build script
24+
run: ./Build.ps1
2525

2626
- name: Create releease
2727
uses: "marvinpinto/action-automatic-releases@latest"
2828
with:
2929
repo_token: "${{ secrets.GITHUB_TOKEN }}"
3030
automatic_release_tag: "v${{ env.VERSION }}-test"
31-
prerelease: true
31+
draft: true
3232
title: "Release ${{ env.VERSION }}-test"
3333
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

0 commit comments

Comments
 (0)