Actions: Add caching for MacOS and Windows build workflows (#11194)

This commit is contained in:
Austin
2026-07-24 12:09:12 -04:00
committed by GitHub
parent 7754068582
commit 0ef375dff4
2 changed files with 37 additions and 6 deletions
+10
View File
@@ -33,6 +33,7 @@ jobs:
with:
msystem: UCRT64
update: true
cache: true
# argp is not packaged for the mingw environments and is built below.
# Python is omitted too: MSYS2's reports a `mingw` platform tag no wheel matches.
install: >-
@@ -51,6 +52,7 @@ jobs:
uses: actions/setup-python@v6
with:
python-version: "3.14"
cache: pip
# framework-portduino calls argp_parse(); MSYS2 packages argp only for the
# msys runtime, which cannot link into a native binary. No install() rules.
@@ -69,6 +71,14 @@ jobs:
python -m pip install --upgrade pip
pip install platformio
- name: Cache PlatformIO packages
uses: actions/cache@v6
with:
path: ~/.platformio/.cache
key: pio-windows-${{ inputs.windows_ver }}-${{ hashFiles('platformio.ini', 'variants/native/portduino.ini') }}
restore-keys: |
pio-windows-${{ inputs.windows_ver }}-
- name: Get release version string
shell: pwsh
id: version