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 3242195 commit d71c93b
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Get Python version
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 "PYTHON_VERSION=$pythonVersion" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
shell: pwsh
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
python-version: 3.12.1

- name: Install pyinstaller
run: pip install pyinstaller
Expand Down

0 comments on commit d71c93b

Please sign in to comment.