Skip to content

Commit 1ba989a

Browse files
authored
Update build.yaml
1 parent d6876c7 commit 1ba989a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/build.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ jobs:
1515
matrix:
1616
os: [ubuntu-latest]
1717
python-version: ["3.12"]
18-
# We aim to support the versions on pytorch.org
19-
# as well as selected previous versions on
20-
# https://pytorch.org/get-started/previous-versions/
2118
torch-version: ["2.4.0"]
2219
include:
2320
- os: windows-latest
@@ -27,6 +24,10 @@ jobs:
2724
runs-on: ${{ matrix.os }}
2825

2926
steps:
27+
- name: Clear pip cache
28+
run: |
29+
rm -rf ~/.cache/pip
30+
3031
- name: Cache dependencies
3132
id: pip-cache
3233
uses: actions/cache@v3
@@ -46,7 +47,7 @@ jobs:
4647
run: |
4748
python -m pip install git+https://github.com/RobustBench/robustbench.git
4849
python -m pip install --upgrade pip setuptools wheel
49-
python -m pip install -U packaging
50+
python -m pip install packaging==24.2
5051
python -m pip install torch==${{ matrix.torch-version }} --extra-index-url https://download.pytorch.org/whl/cpu
5152
pip install '.[dev]'
5253

0 commit comments

Comments
 (0)