mirror of
https://github.com/Yonokid/PyTaiko.git
synced 2026-02-04 11:40:13 +01:00
Update python-app.yml
This commit is contained in:
12
.github/workflows/python-app.yml
vendored
12
.github/workflows/python-app.yml
vendored
@@ -2,29 +2,27 @@ name: PyTaiko
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ "main" ]
|
branches: ["main"]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "main" ]
|
branches: ["main"]
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
# Windows is currently the only platform this action supports
|
# Windows is currently the only platform this action supports
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
# Check-out repository
|
# Check-out repository
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
# Setup Python
|
# Setup Python
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.11' # Version range or exact version of a Python version to use, using SemVer's version range syntax
|
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
|
architecture: "x64" # optional x64 or x86. Defaults to x64 if not specified
|
||||||
|
|
||||||
# Build python script into a stand-alone exe
|
# Build python script into a stand-alone exe
|
||||||
- uses: Nuitka/Nuitka-Action@main
|
- uses: Nuitka/Nuitka-Action@main
|
||||||
@@ -38,4 +36,4 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: exe
|
name: exe
|
||||||
path: build/PyTaiko.exe
|
path: build/main.exe
|
||||||
|
|||||||
Reference in New Issue
Block a user