@@ -37,12 +37,12 @@ jobs:
3737
3838 - name : Build TimeWarp.OptionsValidation
3939 run : |
40- cd source /TimeWarp.OptionsValidation/
40+ cd Source /TimeWarp.OptionsValidation/
4141 dotnet build --configuration Debug
4242
4343 - name : Publish TimeWarp.OptionsValidation
4444 run : |
45- cd source /TimeWarp.OptionsValidation/bin/Packages
45+ cd Source /TimeWarp.OptionsValidation/bin/Packages
4646 dotnet nuget push *.nupkg --skip-duplicate --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.PUBLISH_TO_NUGET_ORG }}
4747
4848 - name : Verify Directory.Build.props
@@ -57,14 +57,14 @@ jobs:
5757 run : |
5858 git config --local user.email "action@github.com"
5959 git config --local user.name "GitHub Action"
60- $version = (Select-String -Path "Directory.Build.props" -Pattern '<Version >(.*?)</Version >').Matches.Groups[1].Value
60+ $version = (Select-String -Path "Directory.Build.props" -Pattern '<PackageVersion >(.*?)</PackageVersion >').Matches.Groups[1].Value
6161 git tag -a "$version" -m "Release $version"
6262 git push origin "$version"
6363
6464 - name : Check if version is not a pre-release
6565 id : check_pre_release
6666 run : |
67- $version = (Select-String -Path "Directory.Build.props" -Pattern '<Version >(.*?)</Version >').Matches.Groups[1].Value
67+ $version = (Select-String -Path "Directory.Build.props" -Pattern '<PackageVersion >(.*?)</PackageVersion >').Matches.Groups[1].Value
6868 $isPreRelease = $version -match '-(alpha|beta)'
6969 echo "IsPreRelease=$isPreRelease"
7070 # Setting output that indicates whether it's a pre-release version
0 commit comments