Update .gitea/workflows/deploy.yml
This commit is contained in:
@@ -5,19 +5,11 @@ on: [push]
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: "homesrv01"
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ["pypy3.9", "pypy3.10", "3.9", "3.10", "3.11", "3.12"]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v5
|
||||
- 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)"
|
||||
python-version: '3.10'
|
||||
- run: python my_script.py
|
||||
# with:
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user