Skip to content

Expects action path action.yml or action.yaml in the action dir: /home/runner/work/repo/.github/actions/node-setup #187

@fregante

Description

@fregante

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:

Image

I was actually trying to use wretry.action because GHA doesn't support pre steps in local composite actions:

Image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions