Open pavelzw opened 4 months ago
Hm, interesting! Thanks for the reproducer, too! Unsure why this fails.
I think this one is related to #985 - because we migth not get the "right" name when ordering the packages this fails randomly. So I do think that we should retry this one when we fix #985.
found a smaller reproducer
# yaml-language-server: $schema=https://raw.githubusercontent.com/prefix-dev/recipe-format/main/schema.json
recipe:
name: my-package
version: '1.0.0'
outputs:
- package:
name: my-package
requirements:
run:
- ${{ pin_subpackage('my-package-a') }}
- package:
name: my-package-${{ variant }}
variant:
- a
Sometimes, it works:
Sometimes it doesn't: