File tree Expand file tree Collapse file tree 4 files changed +3
-18
lines changed
Expand file tree Collapse file tree 4 files changed +3
-18
lines changed Original file line number Diff line number Diff line change 1919 id : setup_python
2020 uses : actions/setup-python@v5
2121 with :
22- python-version : ' 3.13' # Version range or exact version of a Python version to use, using SemVer's version range syntax
22+ python-version : ' 3.13'
2323 architecture : ' x64' # optional x64 or x86. Defaults to x64 if not specified
2424 cache : ' pip'
2525 cache-dependency-path : |
3434 python --version
3535
3636
37- - name : Restore cached virtualenv
38- uses : actions/cache/restore@v4
39- with :
40- key : venv-${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}--${{ hashFiles('poetry.lock') }}
41- path : .venv
42-
37+ # Use in-project venv but don't cache it to avoid mismatch/broken issues
4338 - name : Bind Poetry to runner Python (Linux/macOS)
4439 if : matrix.os != 'windows-latest'
4540 shell : bash
7267 run : echo ".venv/bin" >> $GITHUB_PATH
7368
7469
75- - name : Saved cached virtualenv
76- uses : actions/cache/save@v4
77- with :
78- key : venv-${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}--${{ hashFiles('poetry.lock') }}
79- path : .venv
70+ # Intentionally do not cache .venv
8071
8172 - name : Install system build deps (Linux)
8273 if : matrix.os == 'ubuntu-latest'
Original file line number Diff line number Diff line change @@ -19,8 +19,6 @@ if ! grep -Fxq "$version" data/version.txt; then
1919fi
2020
2121mkdir -p build
22-
23- poetry install --with dev
2422poetry run python -m nuitka \
2523 ./derpiwallpaper/__main__.py \
2624 --onefile \
Original file line number Diff line number Diff line change @@ -19,8 +19,6 @@ if ! grep -Fxq "$version" data/version.txt; then
1919fi
2020
2121mkdir -p build
22-
23- poetry install --with dev
2422poetry run python -m nuitka \
2523 ./derpiwallpaper/__main__.py \
2624 --onefile \
Original file line number Diff line number Diff line change @@ -24,8 +24,6 @@ if ($content -ne $version) {
2424}
2525
2626New-Item - ItemType Directory - Force - Path build | Out-Null
27-
28- poetry install -- with dev
2927poetry run python - m nuitka \
3028 .\derpiwallpaper\__main__.py \
3129 -- msvc= latest \
You can’t perform that action at this time.
0 commit comments