Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mapi68 committed Jan 29, 2024
1 parent ec1c6a9 commit 0500f74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0500f74

Please sign in to comment.