From c692c00185b7a01bf43495a1e859efd6da95e565 Mon Sep 17 00:00:00 2001 From: sjxx <321389626@qq.com> Date: Tue, 23 Apr 2024 10:25:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E6=B5=81=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/python-package.yml | 72 ++++++++++++++-------------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 190b24e..0cea5a7 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -16,55 +16,55 @@ jobs: steps: # 具体步骤 # ---------安装依赖------------ - - uses: actions/checkout@v3 # 进入该项目目录 - - name: Set up Python ${{ matrix.python-version }} # 步骤名 - uses: actions/setup-python@v3 # 安装python - with: # 完成后执行 - python-version: ${{ matrix.python-version }} # 查看python版本 - - name: Install dependencies # 步骤名 - run: | - python -m pip install --upgrade pip - python -m pip install -r requirements.txt + # - uses: actions/checkout@v3 # 进入该项目目录 + # - name: Set up Python ${{ matrix.python-version }} # 步骤名 + # uses: actions/setup-python@v3 # 安装python + # with: # 完成后执行 + # python-version: ${{ matrix.python-version }} # 查看python版本 + # - name: Install dependencies # 步骤名 + # run: | + # python -m pip install --upgrade pip + # python -m pip install -r requirements.txt # ------------配置Dependency Walker------------ - - name: Checkout code - uses: actions/checkout@v3 + # - name: Checkout code + # uses: actions/checkout@v3 - - name: Create directories - run: | - New-Item -ItemType Directory -Force -Path "C:\Users\runneradmin\AppData\Local\Nuitka\Nuitka\Cache\downloads\depends\x86_64" + # - name: Create directories + # run: | + # New-Item -ItemType Directory -Force -Path "C:\Users\runneradmin\AppData\Local\Nuitka\Nuitka\Cache\downloads\depends\x86_64" - - name: Download Dependency Walker - run: | - Invoke-WebRequest -Uri "https://dependencywalker.com/depends22_x64.zip" -OutFile "temp_depends.zip" + # - name: Download Dependency Walker + # run: | + # Invoke-WebRequest -Uri "https://dependencywalker.com/depends22_x64.zip" -OutFile "temp_depends.zip" - - name: Create temp directory - run: | - New-Item -ItemType Directory -Force -Path temp/depends + # - name: Create temp directory + # run: | + # New-Item -ItemType Directory -Force -Path temp/depends - - name: Move downloaded file - run: | - Move-Item -Path temp_depends.zip -Destination temp/depends/depends22_x64.zip + # - name: Move downloaded file + # run: | + # Move-Item -Path temp_depends.zip -Destination temp/depends/depends22_x64.zip - - name: Extract Dependency Walker - run: | - Expand-Archive -Path temp/depends/depends22_x64.zip -DestinationPath C:\Users\runneradmin\AppData\Local\Nuitka\Nuitka\Cache\downloads\depends\x86_64 + # - name: Extract Dependency Walker + # run: | + # Expand-Archive -Path temp/depends/depends22_x64.zip -DestinationPath C:\Users\runneradmin\AppData\Local\Nuitka\Nuitka\Cache\downloads\depends\x86_64 # ------------打包应用------------ # - name: Deploy infinity # 步骤名 # run: | # pyside6-deploy -f main.py # 上传 EXE 文件作为 GitHub 发布资产 - - name: Create Release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref }} - draft: false - prerelease: false + # - name: Create Release + # id: create_release + # uses: actions/create-release@v1 + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # with: + # tag_name: ${{ github.ref }} + # release_name: Release ${{ github.ref }} + # draft: false + # prerelease: false - name: Upload Release Asset uses: actions/upload-release-asset@v1