From 0500f749c8d9d904924f77e89e2cb576961f4fcc Mon Sep 17 00:00:00 2001 From: mapi68 <41143572+mapi68@users.noreply.github.com> Date: Mon, 29 Jan 2024 04:20:29 +0100 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2ee7400..58ff1e5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,12 +19,12 @@ jobs: id: get-python-version run: | $pythonVersion = (Invoke-WebRequest -Uri "https://www.python.org/downloads/" -UseBasicParsing).Content -match 'Download Python (\d+\.\d+\.\d+)' | Out-Null; $matches[1] - echo "::set-output name=python_version::${env:pythonVersion}" + echo "PYTHON_VERSION=${env:pythonVersion}" >> $GITHUB_ENV - name: Set up Python uses: actions/setup-python@v5 with: - python-version: ${{ steps.get-python-version.outputs.python_version }} + python-version: ${{ env.PYTHON_VERSION }} - name: Install pyinstaller run: pip install pyinstaller