Skip to content

Warning: pre execution is not supported for local action from './' #564

@zijchen

Description

@zijchen

I am one of the contributors for Azure/sql-action, and we have a workflow defined here that uses ./ to run our action and test some functionalities. I followed this guide to add a pre script for some setup code, like this:

runs:
  using: 'node12'
  pre: 'lib/setup.js'
  main: 'lib/main.js'

But in our workflow, it seems like that is ignored

Warning: pre execution is not supported for local action from './'

Is there a way to execute the pre script even for using ./?

A workaround would be to move the pre script into our main function, but we'd like to keep the setup code separate if possible.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions