修改网络问题

This commit is contained in:
jjz
2025-10-09 17:19:50 +08:00
parent 4d18835dc6
commit a925ca2c99

View File

@@ -8,21 +8,29 @@ jobs:
gui-version-release:
runs-on: windows
defaults:
run:
working-directory: E:\shuidrop_gui
steps:
# Step 1: Check working directory
- name: Check working environment
# Step 1: Clone repository manually
- name: Clone repository
shell: powershell
run: |
Write-Host "Current working directory:"
Get-Location
Write-Host "Directory contents:"
Get-ChildItem
Write-Host "Cloning repository..."
# Change to workspace directory
cd E:\shuidrop_gui
Write-Host "Current directory: $(Get-Location)"
Write-Host "Git status:"
try {
git status
} catch {
Write-Host "Not a git repository"
}
git status
Write-Host "Fetching latest changes..."
git fetch origin
git reset --hard origin/master
Write-Host "Repository ready"
# Step 2: Check Python environment
- name: Check Python environment