-
Notifications
You must be signed in to change notification settings - Fork 638
Closed
Labels
feature requestNew feature or request to improve the current logicNew feature or request to improve the current logic
Description
Description:
When building with python-version
and architecture
, only python-version
is included in the final cache key, e.g setup-python-Windows-python-3.11.8-poetry-...
but not architecture
which will cause the Unable to reserve cache with key setup-python-Windows-python-3.11.8-poetry-v2-..., another job may be creating this cache. More details: Cache already exists. Scope: refs/heads/main
Action version:
v5
Platform:
- Ubuntu
- macOS
- Windows
Runner type:
- Hosted
- Self-hosted
Tools version:
Repro steps:
jobs:
build:
strategy:
fail-fast: false
matrix:
target:
- os: "windows-latest"
architecture: "x64"
- os: "windows-latest"
architecture: "x86"
defaults:
run:
shell: bash
runs-on: ${{ matrix.target.os }}
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- name: Setup Python
uses: actions/setup-python@v5
id: setup-python
with:
python-version: "3.11"
architecture: ${{ matrix.target.architecture }}
cache: "poetry"
Expected behavior:
Cache is cached for all architectures
Actual behavior:
Only one architecture is cached
Metadata
Metadata
Assignees
Labels
feature requestNew feature or request to improve the current logicNew feature or request to improve the current logic