Update .gitea/workflows/deploy.yml

This commit is contained in:
2024-08-04 03:52:23 +00:00
parent 2fbc329077
commit c48543165a

View File

@@ -5,19 +5,11 @@ on: [push]
jobs: jobs:
deploy: deploy:
runs-on: "homesrv01" runs-on: "homesrv01"
strategy:
matrix:
python-version: ["pypy3.9", "pypy3.10", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5
uses: actions/setup-python@v5
with: with:
python-version: ${{ matrix.python-version }} python-version: '3.10'
# You can test your matrix by printing the current Python version - run: python my_script.py
- 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