mirror of
https://github.com/snowykami/server-status-client.git
synced 2025-08-02 19:59:53 +00:00
✨ 降低python版本依赖
This commit is contained in:
16
.github/workflows/nuitka-compile.yml
vendored
16
.github/workflows/nuitka-compile.yml
vendored
@ -2,14 +2,14 @@ name: Compile
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
tags:
|
||||
- '*'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ macos-latest, ubuntu-latest, windows-latest ]
|
||||
os: [ ubuntu-latest, windows-latest ]
|
||||
arch: [ amd64, arm64, arm, 386 ]
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
@ -22,10 +22,8 @@ jobs:
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.11' # Version range or exact version of a Python version to use, using SemVer's version range syntax
|
||||
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
|
||||
cache: 'pip'
|
||||
cache-dependency-path: |
|
||||
**/requirements*.txt
|
||||
architecture: ${{ matrix.arch }}
|
||||
cache: 'pdm' # Optional. Options are 'none', 'pdm', 'pip', or 'all'. Default is 'all'
|
||||
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
@ -36,8 +34,10 @@ jobs:
|
||||
uses: Nuitka/Nuitka-Action@main
|
||||
with:
|
||||
nuitka-version: main
|
||||
script-name: server_status/__main__.py
|
||||
script-name: server_status/main.py
|
||||
onefile: true
|
||||
standalone: true
|
||||
follow-imports: true
|
||||
|
||||
- name: Upload Artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
|
Reference in New Issue
Block a user