First commit
Former-commit-id: 424079609133edcc501ae185509836ee1181a02c
This commit is contained in:
44
name_code/.github/workflows/Excute.yml
vendored
Normal file
44
name_code/.github/workflows/Excute.yml
vendored
Normal file
@ -0,0 +1,44 @@
|
||||
name: Gen Excute File
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
linux:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v3.0.0
|
||||
with:
|
||||
python-version: 3.8
|
||||
- name: Install Pyinstaller
|
||||
run: |
|
||||
pip install Pyinstaller
|
||||
- name: Package
|
||||
run: |
|
||||
Pyinstaller -F ./main
|
||||
- name: Simple Upload to Release
|
||||
uses: Guerra24/upload-to-release@v1.0.0
|
||||
with:
|
||||
name: Linux_version
|
||||
path: dist/main
|
||||
windows:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v3.0.0
|
||||
with:
|
||||
python-version: 3.8
|
||||
- name: Install Pyinstaller
|
||||
run: |
|
||||
pip install Pyinstaller
|
||||
- name: Package
|
||||
run: |
|
||||
Pyinstaller -F ./main
|
||||
- name: Simple Upload to Release
|
||||
uses: Guerra24/upload-to-release@v1.0.0
|
||||
with:
|
||||
name: Windows_version
|
||||
path: dist/main.exe
|
||||
|
44
name_code/.github/workflows/main.yml
vendored
Normal file
44
name_code/.github/workflows/main.yml
vendored
Normal file
@ -0,0 +1,44 @@
|
||||
name: Gen Excute File
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
linux:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v3.0.0
|
||||
with:
|
||||
python-version: 3.8
|
||||
- name: Install Pyinstaller
|
||||
run: |
|
||||
pip install Pyinstaller
|
||||
- name: Package
|
||||
run: |
|
||||
Pyinstaller -F ./main
|
||||
- name: Simple Upload to Release
|
||||
uses: Guerra24/upload-to-release@v1.0.0
|
||||
with:
|
||||
name: Linux_version
|
||||
path: dist/main
|
||||
windows:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v3.0.0
|
||||
with:
|
||||
python-version: 3.8
|
||||
- name: Install Pyinstaller
|
||||
run: |
|
||||
pip install Pyinstaller
|
||||
- name: Package
|
||||
run: |
|
||||
Pyinstaller -F ./main
|
||||
- name: Simple Upload to Release
|
||||
uses: Guerra24/upload-to-release@v1.0.0
|
||||
with:
|
||||
name: Windows_version
|
||||
path: dist/main.exe
|
||||
|
Reference in New Issue
Block a user