WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 7561bd4

Browse files
committed
uast no win
1 parent 194b6ac commit 7561bd4

File tree

1 file changed

+33
-32
lines changed

1 file changed

+33
-32
lines changed

.github/workflows/release.yml

Lines changed: 33 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -236,11 +236,11 @@ jobs:
236236
output_path: parser-Go/dist/uast4go-mac-arm64
237237

238238
# ========== Windows ==========
239-
- os: windows-latest
240-
goos: windows
241-
goarch: amd64
242-
artifact_name: go-windows-amd64
243-
output_path: parser-Go/dist/uast4go-windows-amd64.exe
239+
# - os: windows-latest
240+
# goos: windows
241+
# goarch: amd64
242+
# artifact_name: go-windows-amd64
243+
# output_path: parser-Go/dist/uast4go-windows-amd64.exe
244244

245245
steps:
246246
- name: Checkout
@@ -370,39 +370,39 @@ jobs:
370370
path: parser-Python/dist/uast4py-mac-${{ matrix.arch }}
371371

372372

373-
# Job 3: Build for Windows
374-
build_python_windows:
375-
name: Build Python Binary - Windows x64
376-
needs: publish_parser_js
377-
runs-on: windows-latest
378-
steps:
379-
- name: Checkout code
380-
uses: actions/checkout@v4
373+
# # Job 3: Build for Windows
374+
# build_python_windows:
375+
# name: Build Python Binary - Windows x64
376+
# needs: publish_parser_js
377+
# runs-on: windows-latest
378+
# steps:
379+
# - name: Checkout code
380+
# uses: actions/checkout@v4
381381

382-
- name: Setup Python
383-
uses: actions/setup-python@v4
384-
with:
385-
python-version: '3.13'
382+
# - name: Setup Python
383+
# uses: actions/setup-python@v4
384+
# with:
385+
# python-version: '3.13'
386386

387-
- name: Install Dependencies and Build
388-
working-directory: parser-Python
389-
shell: pwsh
390-
run: |
391-
Write-Output "🏗️ Building for Windows x64..."
387+
# - name: Install Dependencies and Build
388+
# working-directory: parser-Python
389+
# shell: pwsh
390+
# run: |
391+
# Write-Output "🏗️ Building for Windows x64..."
392392

393-
python -m venv .venv
394-
.venv\Scripts\Activate.ps1
393+
# python -m venv .venv
394+
# .venv\Scripts\Activate.ps1
395395

396-
pip install --upgrade pip
397-
pip install -r requirements.txt
398-
pip install pyinstaller
396+
# pip install --upgrade pip
397+
# pip install -r requirements.txt
398+
# pip install pyinstaller
399399

400-
pyinstaller --onefile uast\builder.py
400+
# pyinstaller --onefile uast\builder.py
401401

402-
New-Item -ItemType Directory -Path dist -ErrorAction SilentlyContinue
403-
Move-Item -Path "dist\builder.exe" -Destination "dist\uast4py-windows-amd64.exe"
402+
# New-Item -ItemType Directory -Path dist -ErrorAction SilentlyContinue
403+
# Move-Item -Path "dist\builder.exe" -Destination "dist\uast4py-windows-amd64.exe"
404404

405-
Write-Output "✅ Built: dist\uast4py-windows-amd64.exe"
405+
# Write-Output "✅ Built: dist\uast4py-windows-amd64.exe"
406406

407407
- name: Upload Artifact
408408
uses: actions/upload-artifact@v4
@@ -414,7 +414,8 @@ jobs:
414414

415415
# 6. 合并产物并创建 GitHub Release
416416
create_release:
417-
needs: [build_go, build_python_linux, build_python_macos, build_python_windows]
417+
# needs: [build_go, build_python_linux, build_python_macos, build_python_windows]
418+
needs: [build_go, build_python_linux, build_python_macos]
418419
runs-on: ubuntu-latest
419420
environment: release
420421
permissions:

0 commit comments

Comments
 (0)