Skip to content

Commit f1d3fb8

Browse files
committed
Again!
1 parent 290ed56 commit f1d3fb8

File tree

4 files changed

+3
-18
lines changed

4 files changed

+3
-18
lines changed

.github/workflows/build_binaries.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
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: |
@@ -34,12 +34,7 @@ jobs:
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
@@ -72,11 +67,7 @@ jobs:
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'

scripts/build-linux.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ if ! grep -Fxq "$version" data/version.txt; then
1919
fi
2020

2121
mkdir -p build
22-
23-
poetry install --with dev
2422
poetry run python -m nuitka \
2523
./derpiwallpaper/__main__.py \
2624
--onefile \

scripts/build-macos.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ if ! grep -Fxq "$version" data/version.txt; then
1919
fi
2020

2121
mkdir -p build
22-
23-
poetry install --with dev
2422
poetry run python -m nuitka \
2523
./derpiwallpaper/__main__.py \
2624
--onefile \

scripts/build-windows.ps1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ if ($content -ne $version) {
2424
}
2525

2626
New-Item -ItemType Directory -Force -Path build | Out-Null
27-
28-
poetry install --with dev
2927
poetry run python -m nuitka \
3028
.\derpiwallpaper\__main__.py \
3129
--msvc=latest \

0 commit comments

Comments
 (0)