I'm trying to use this action for a local composite action, but it seems that it's not compatible:
- uses: Wandalen/wretry.action@v3.8.0
with:
action: ./.github/actions/node-setup
attempt_limit: 1
This works:
- uses: ./.github/actions/node-setup
The reason is that wretry.action seems to look for the action in the "pre" step:
I was actually trying to use wretry.action because GHA doesn't support pre steps in local composite actions:
This is part of my composite action
name: Installs node and dependencies
description: Installs the node version defined in the package.json; then installs the project dependencies
runs:
using: composite
steps:
- uses: actions/setup-node@v4
- runs: npm ci
I'm trying to use this action for a local composite action, but it seems that it's not compatible:
This works:
The reason is that wretry.action seems to look for the action in the "pre" step:
I was actually trying to use wretry.action because GHA doesn't support
presteps in local composite actions:This is part of my composite action