[patch] PDD登录状态GUI回调优化

This commit is contained in:
2025-10-11 10:09:59 +08:00
parent 3ab1c82a37
commit 66dd6051e5

View File

@@ -8,31 +8,38 @@ jobs:
gui-version-release:
runs-on: windows
defaults:
run:
working-directory: E:\shuidrop_gui
steps:
# Step 1: Checkout repository
- name: Checkout repository
# Step 1: Pull latest code
- name: Pull latest code
shell: powershell
run: |
Write-Host "==========================================";
Write-Host "Checking out repository";
Write-Host "Pulling latest code";
Write-Host "==========================================";
Write-Host "Current directory: $(Get-Location)";
Write-Host "Working directory: $(Get-Location)";
Write-Host "Branch: ${{ github.ref_name }}";
Write-Host "Commit: ${{ github.sha }}";
Write-Host "Author: ${{ github.actor }}";
Write-Host "";
git config --global core.autocrlf false;
git config --global core.longpaths true;
git config core.autocrlf false;
git config core.longpaths true;
Write-Host "Fetching latest code...";
Write-Host "Fetching from origin...";
git fetch origin;
Write-Host "Checking out branch: ${{ github.ref_name }}";
git checkout ${{ github.ref_name }};
git pull origin ${{ github.ref_name }};
Write-Host "Pulling latest changes...";
git reset --hard origin/${{ github.ref_name }};
Write-Host "";
Write-Host "Git status:";
git status;
Write-Host "Current status:";
git log -1 --oneline;
Write-Host "==========================================";