Skip to content

Commit 97d49d3

Browse files
authored
fix: possible cd pathing issue (#163)
1 parent 8cab216 commit 97d49d3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/main_cd.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
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
@@ -22,8 +22,8 @@ jobs:
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 }}

0 commit comments

Comments
 (0)