diff --git a/.gitea/workflows/gui-version-release.yml b/.gitea/workflows/gui-version-release.yml index 13b0e3c..323be6b 100644 --- a/.gitea/workflows/gui-version-release.yml +++ b/.gitea/workflows/gui-version-release.yml @@ -9,42 +9,40 @@ jobs: runs-on: windows steps: - # Step 1: Check working directory - - name: Check working environment + # Step 1: Change to repository directory + - name: Change to repository directory shell: powershell run: | - Write-Host "Current working directory:" - Get-Location + Write-Host "Current directory: $(Get-Location)" + + # Change to repository root + cd ${{ github.workspace }} + Write-Host "Changed to: $(Get-Location)" + Write-Host "Directory contents:" Get-ChildItem + Write-Host "Git status:" - try { - git status - } catch { - Write-Host "Not a git repository" - } + git status # Step 2: Check Python environment - name: Check Python environment shell: powershell run: | + cd ${{ github.workspace }} + Write-Host "Python version:" - try { - python --version - } catch { - Write-Host "Python not installed" - } + python --version + Write-Host "Pip version:" - try { - pip --version - } catch { - Write-Host "Pip not installed" - } + pip --version # Step 3: Install dependencies - name: Install dependencies shell: powershell run: | + cd ${{ github.workspace }} + Write-Host "Installing psycopg2-binary..." python -m pip install --upgrade pip @@ -66,7 +64,10 @@ jobs: id: create_version shell: powershell run: | + cd ${{ github.workspace }} + Write-Host "Starting GUI version release process..." + Write-Host "Working directory: $(Get-Location)" Write-Host "Commit hash: ${{ github.sha }}" Write-Host "Commit author: ${{ github.actor }}" Write-Host "Branch: ${{ github.ref_name }}"