From 3d9182b0634356d72ae7b0fe2d00b546aa8743eb Mon Sep 17 00:00:00 2001 From: Zhengyu Peng Date: Fri, 24 Dec 2021 14:33:13 -0500 Subject: [PATCH] update --- .github/build_pc_client_windows.yml | 37 ------------------- .github/workflows/build_pc_client_windows.yml | 4 +- 2 files changed, 1 insertion(+), 40 deletions(-) delete mode 100644 .github/build_pc_client_windows.yml diff --git a/.github/build_pc_client_windows.yml b/.github/build_pc_client_windows.yml deleted file mode 100644 index 06ed16a..0000000 --- a/.github/build_pc_client_windows.yml +++ /dev/null @@ -1,37 +0,0 @@ -# This workflow will install Python dependencies, run tests and lint with a variety of Python versions -# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions - -name: Build PC Client on Windows - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - -jobs: - build: - - runs-on: windows-latest - - steps: - - uses: actions/checkout@v2 - - name: Set up Python 3.9 - uses: actions/setup-python@v2 - with: - python-version: 3.9 - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install PySide6 psutil pyinstaller - - name: PyInstaller - run: | - cd software\pc - pyinstaller hexapod.spec - copy mainwindow.ui .\dist\hexapod\ - - name: Archive built module - uses: actions/upload-artifact@v2 - if: success() - with: - name: hexapod_windows - path: .\dist\hexapod \ No newline at end of file diff --git a/.github/workflows/build_pc_client_windows.yml b/.github/workflows/build_pc_client_windows.yml index 3cee909..06ed16a 100644 --- a/.github/workflows/build_pc_client_windows.yml +++ b/.github/workflows/build_pc_client_windows.yml @@ -24,11 +24,9 @@ jobs: run: | python -m pip install --upgrade pip pip install PySide6 psutil pyinstaller - - name: Swith to PC client path - run: | - cd ./software/pc/ - name: PyInstaller run: | + cd software\pc pyinstaller hexapod.spec copy mainwindow.ui .\dist\hexapod\ - name: Archive built module