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.