0.9.9.8 #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: TAICHI_OS_BUILD | |
on: | |
release: | |
types: [ created ] # 表示在创建新的 Release 时触发 | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ ubuntu-20.04 ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Check-out repository | |
uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
architecture: 'x64' | |
cache: 'pip' | |
cache-dependency-path: | | |
**/requirements*.txt | |
- name: Install Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Build Executable | |
uses: Nuitka/Nuitka-Action@main | |
with: | |
nuitka-version: main | |
script-name: run.py | |
onefile: true | |
company-name: KooKoo.top | |
product-name: UNIVERSE_OS | |
file-version: ${{ github.ref_name }} | |
product-version: ${{ github.ref_name }} | |
include-data-dir: core/html=core/html | |
output-file: TAICHI_OS | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: TAICHI_OS_AMD64_${{ github.ref_name }}_${{ runner.os }}-Build | |
path: | | |
build/TAICHI_OS |