Skip to content

Commit

Permalink
Update build-win.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
olvidalo authored Nov 25, 2024
1 parent fae5fe0 commit f00ce27
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/build-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@ jobs:

steps:
- uses: actions/checkout@v4

- name: Cache MSYS2 packages
id: cache-msys2
uses: actions/cache@v4
with:
path: C:/msys64/var/cache/pacman/pkg
key: msys2-${{ hashFiles('.github/workflows/build-win.yml') }}-${{ runner.os }}
restore-keys: |
msys2-${{ hashFiles('.github/workflows/build-win.yml') }}-
msys2-
- name: Setup MSYS2
uses: msys2/setup-msys2@v2
Expand All @@ -37,7 +47,17 @@ jobs:
wget
p7zip
mingw-w64-x86_64-jq
- name: Cache Python packages
id: cache-pip
uses: actions/cache@v4
with:
path: .venv
key: pip-${{ hashFiles('requirements.txt', '.github/workflows/build-win.yml') }}-${{ runner.os }}
restore-keys: |
pip-${{ hashFiles('requirements.txt', '.github/workflows/build-win.yml') }}-
pip-
- name: Set up Python environment
run: |
python -m venv --system-site-packages .venv
Expand Down

0 comments on commit f00ce27

Please sign in to comment.