Skip to content

Commit

Permalink
Update build-windows.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shdwmtr committed Jun 12, 2024
1 parent 98af77e commit 66d9262
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,8 @@ jobs:
env:
VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite"

- name: Set up cache for build files
uses: actions/cache@v3
id: build-cache
with:
path: |
Python-3.11.8/PCbuild/amd64
Python-3.11.8/PCbuild/win32
key: ${{ runner.os }}-python-3.11.8-build-${{ hashFiles('.github/workflows/build-windows.yml') }}
restore-keys: |
${{ runner.os }}-python-3.11.8-build-
- name: (Python) Stage Python 3.11.8 static build
if: steps.python-cache.outputs.cache-hit != 'true'
run: |
cd Python-3.11.8
Expand All @@ -88,6 +78,7 @@ jobs:
shell: pwsh

- name: (Python) Build 3.11.8
if: steps.python-cache.outputs.cache-hit != 'true'
run: |
cd Python-3.11.8
Expand All @@ -98,6 +89,17 @@ jobs:
# verify python is installed
PCbuild\win32\python.exe --version
- name: Set up cache for build files
uses: actions/cache@v3
id: build-cache
with:
path: |
Python-3.11.8/PCbuild/amd64
Python-3.11.8/PCbuild/win32
key: ${{ runner.os }}-python-3.11.8-build-${{ hashFiles('.github/workflows/build-windows.yml') }}
restore-keys: |
${{ runner.os }}-python-3.11.8-build-
- name: (Generator) Integrate VS2022
uses: microsoft/setup-msbuild@v2
with:
Expand Down

0 comments on commit 66d9262

Please sign in to comment.