File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1212
1313 steps :
1414 - uses : actions/checkout@v4
15- - name : Verify commit exists in origin/main
15+ - name : Verify commit exists in origin/master
1616 run : |
1717 git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
1818 git branch --remote --contains | grep origin/master
2222 $version="${{github.ref_name}}".TrimStart("v")
2323 "version-without-v=$version" | Out-File -FilePath $env:GITHUB_OUTPUT -Append
2424 - name : Pack
25- run : dotnet pack ~/ MAUI.FreakyControls/ MAUI.FreakyControls/ Maui.FreakyControls.csproj -c Release -p:PackageVersion=${{ steps.get_version.outputs.version-without-v }}
25+ run : dotnet pack MAUI.FreakyControls\ MAUI.FreakyControls\ Maui.FreakyControls.csproj -c Release -p:PackageVersion=${{ steps.get_version.outputs.version-without-v }}
2626 - name : Push
27- run : dotnet nuget push MAUI.FreakyControls/ MAUI.FreakyControls/ bin/ Release/ FreakyControls.${{ steps.get_version.outputs.version-without-v }}.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_API_KEY }}
27+ run : dotnet nuget push MAUI.FreakyControls\ MAUI.FreakyControls\ bin\ Release\ FreakyControls.${{ steps.get_version.outputs.version-without-v }}.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_API_KEY }}
2828 env :
2929 GITHUB_TOKEN : ${{ secrets.NUGET_API_KEY }}
You can’t perform that action at this time.
0 commit comments