Update .gitea/workflows/deploy.yml
This commit is contained in:
@@ -5,19 +5,11 @@ on: [push]
|
|||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: "homesrv01"
|
runs-on: "homesrv01"
|
||||||
strategy:
|
- uses: actions/checkout@v4
|
||||||
matrix:
|
- uses: actions/setup-python@v5
|
||||||
python-version: ["pypy3.9", "pypy3.10", "3.9", "3.10", "3.11", "3.12"]
|
with:
|
||||||
|
python-version: '3.10'
|
||||||
steps:
|
- run: python my_script.py
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
|
||||||
uses: actions/setup-python@v5
|
|
||||||
with:
|
|
||||||
python-version: ${{ matrix.python-version }}
|
|
||||||
# You can test your matrix by printing the current Python version
|
|
||||||
- name: Display Python version
|
|
||||||
run: python -c "import sys; print(sys.version)"
|
|
||||||
# with:
|
# with:
|
||||||
# python-version: '3.12.4' # Version range or exact version of a Python version to use, using SemVer's version range syntax
|
# python-version: '3.12.4' # 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
|
||||||
|
|||||||
Reference in New Issue
Block a user