File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed
System.Text.Json.Extensions Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 1515
1616 runs-on : ubuntu-latest
1717 outputs :
18+ packageAndVersion : ${{ steps.get_version.outputs.packageAndVersion }}
1819 version : ${{ steps.get_version.outputs.version }}
1920
2021 steps :
3738 - name : Get Version
3839 id : get_version
3940 run : |
40- Write-Host "name=packageAndVersion::$(Split-Path -Path $(Resolve-Path "System.Text.Json.Extensions/bin/Release/*.nupkg") -LeafBase)"
4141 Write-Host "::set-output name=packageAndVersion::$(Split-Path -Path $(Resolve-Path "System.Text.Json.Extensions/bin/Release/*.nupkg") -LeafBase)"
42- Write-Host "name=version::$((Split-Path -Path $(Resolve-Path "System.Text.Json.Extensions/bin/Release/*.nupkg") -LeafBase) -replace '^.*?(\d.*)$','$1')"
4342 Write-Host "::set-output name=version::$((Split-Path -Path $(Resolve-Path "System.Text.Json.Extensions/bin/Release/*.nupkg") -LeafBase) -replace '^.*?(\d.*)$','$1')"
4443 shell : pwsh
4544 - uses : actions/upload-artifact@v2
8180 env :
8281 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
8382 with :
84- tag_name : v${{ steps.get_version.version }}
85- release_name : Release ${{ steps.get_version.version }}
83+ tag_name : v${{ steps.get_version.outputs. version }}
84+ release_name : Release ${{ steps.get_version.outputs. version }}
8685 draft : true
8786 prerelease : false
8887 - name : Upload Release Asset
9291 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
9392 with :
9493 upload_url : ${{ steps.create_release.outputs.upload_url }}
95- asset_path : System.Text.Json.Extensions/bin/Release/${{ steps.get_version.packageAndVersion }}.nupkg
96- asset_name : ${{ steps.get_version.packageAndVersion }}.nupkg
94+ asset_path : System.Text.Json.Extensions/bin/Release/${{ steps.get_version.outputs. packageAndVersion }}.nupkg
95+ asset_name : ${{ steps.get_version.outputs. packageAndVersion }}.nupkg
9796 asset_content_type : application/zip
Original file line number Diff line number Diff line change 33 <PropertyGroup >
44 <TargetFramework >netstandard2.1</TargetFramework >
55 <PackageId >System.Text.Json.Extensions</PackageId >
6- <Version >1.0.7 </Version >
6+ <Version >1.0.8 </Version >
77 <Authors >TheConstructor</Authors >
88 <PackageDescription >This package tries to collect some extensions and converters that ease the usage of System.Text.Json.</PackageDescription >
99 <RepositoryUrl >https://github.com/TheConstructor/System.Text.Json.Extensions</RepositoryUrl >
You can’t perform that action at this time.
0 commit comments