From 2fbc3290771ffbca27b65e70cfa6ec8fe004e9ec Mon Sep 17 00:00:00 2001 From: "marcio.fernandes" Date: Sun, 4 Aug 2024 03:47:05 +0000 Subject: [PATCH] Update .gitea/workflows/deploy.yml --- .gitea/workflows/deploy.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index b4f043f..ed7c2fb 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -5,9 +5,19 @@ 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@v2 - - uses: actions/setup-python@v2 + - 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: # 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