From 8d437f27118d6a2f1b228827e4460c28c1d15090 Mon Sep 17 00:00:00 2001 From: Sharll <106537475+Sharll-large@users.noreply.github.com> Date: Sat, 13 Jan 2024 09:28:46 +0800 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ba14ee2..f761659 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,17 +13,15 @@ jobs: pyinstaller-build-windows: runs-on: windows-latest steps: - - uses: actions/checkout@v2 - - - name: Package Application - uses: JackMcKew/pyinstaller-action-windows@main + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: - path: src - - - uses: actions/upload-artifact@v2 - with: - name: FMCL-windows - path: src/dist/windows + python-version: '3.10' + cache: 'pip' # caching pip dependencies + - run: pip install pyinstaller + - run: pyinstaller -F src/__main__.py + + # pyinstaller-build-linux: # runs-on: ubuntu-latest