From fce0566c4011d70a51bcf56b0360efebffa98dd9 Mon Sep 17 00:00:00 2001 From: CGrakeski Date: Sun, 23 Nov 2025 18:10:19 +0800 Subject: [PATCH] Modify CI workflow for Windows and PyInstaller Updated CI workflow to run on Windows and use PyInstaller for building an executable. --- .github/workflows/blank.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/blank.yml diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml new file mode 100644 index 0000000..637128f --- /dev/null +++ b/.github/workflows/blank.yml @@ -0,0 +1,26 @@ +# This is a basic workflow to help you get started with Actions + +name: Windows-Compile + +# Controls when the workflow will run +on: + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + pyinstaller-build: + # The type of runner that the job will run on + runs-on: windows-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - name: Create Executable + uses: sayyid5416/pyinstaller@v1 + with: + python_ver: '3.12' + spec: 'EW_repl.py' + upload_exe_with_name: 'Exwide' + options: --onefile, --name "Exwide"