Skip to content

Commit 7a3a4e6

Browse files
committed
fix origin. main not master
1 parent 960ca22 commit 7a3a4e6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/update.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ jobs:
4444
echo "Found solution: ${SLN}"
4545
echo "sln=${SLN}" >> "$GITHUB_OUTPUT"
4646
47-
- name: Restore
48-
run: dotnet restore "${{ steps.sln.outputs.sln }}"
47+
#- name: Restore
48+
# run: dotnet restore "${{ steps.sln.outputs.sln }}"
4949

5050
- name: Update NuGet packages (per project)
5151
shell: bash
@@ -151,9 +151,9 @@ jobs:
151151
fi
152152
153153
git commit -m "Automated version sync"
154-
git pull --rebase origin master
154+
git pull --rebase origin main
155155
156156
echo "🔐 Using PAT to push changes..."
157-
git push "https://x-access-token:${GH_PAT}@github.com/${{ github.repository }}" HEAD:master
157+
git push "https://x-access-token:${GH_PAT}@github.com/${{ github.repository }}" HEAD:main
158158
159-
echo "🚀 Changes committed and pushed to master via PAT."
159+
echo "🚀 Changes committed and pushed to main via PAT."

0 commit comments

Comments
 (0)