From a64e59700feff4654c52969372a915b06e8ee176 Mon Sep 17 00:00:00 2001 From: yituodab Date: Sun, 26 May 2024 17:23:57 +0800 Subject: [PATCH] 1 --- .github/workflows/build.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e69de29..8bf8be7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -0,0 +1,23 @@ +name: build +on: push +jobs: + job1: + runs-on: windows-latest + steps: + - uses: actions/checkout@v4 + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3.0' + architecture: 'x64' + - name: Install dependencies + run: python -m pip install --upgrade pip + - name: PIP Install + run: pip install minecraft-launcher-lib pyinstaller requests subprocess + - name: Build + run: pyinstaller -F -i ico.ico Launcher.py + - name: Artifact + uses: actions/upload-artifact@v4 + with: + name: Launcher + path: dist/*.exe \ No newline at end of file