Skip to content

Commit

Permalink
build: 更新Action
Browse files Browse the repository at this point in the history
  • Loading branch information
Folltoshe committed Dec 15, 2023
1 parent a17ac7e commit 314cdbb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -1,34 +1,31 @@
# this workflow using github actions to build a binary exe file for windows users

name: build beta

on:
on:
push:
branches: [main]
pull_request:
branches: [main]
branches:
- beta

jobs:
build-windows:
runs-on: windows-latest
steps:
- name: Checkout git repo
uses: actions/checkout@v2

- name: Setup Python 3.11
uses: actions/setup-python@v2
with:
python-version: '3.11'

- name: Install pyinstaller
run: python -m pip install pyinstaller

- name: Install dependencies
run: python -m pip install -r ./requirements.txt

- name: Build EXE
run: python build.py build test

- name: Upload
uses: actions/upload-artifact@v2
with:
Expand All @@ -48,15 +45,15 @@ jobs:

- name: Install pyinstaller
run: python -m pip install pyinstaller

- name: Install dependencies
run: python -m pip install -r ./requirements.txt

- name: Build Executable
run: python build.py build test

- name: Upload
uses: actions/upload-artifact@v2
with:
name: linux
path: ./dist
path: ./dist
File renamed without changes.

0 comments on commit 314cdbb

Please sign in to comment.