From d3afe848280f1b4069e90a219f8327fcc210b75c Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Thu, 6 Jun 2024 19:44:47 +0200 Subject: [PATCH] actions/main/action.yml: fix relative path require --- actions/main/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/main/action.yml b/actions/main/action.yml index d0f3dc80..1cf9f684 100644 --- a/actions/main/action.yml +++ b/actions/main/action.yml @@ -122,6 +122,6 @@ runs: const actionPath = '${{ github.action_path }}/../../' const inputs = ${{ toJson(inputs) }} - const script = require(`${actionPath}/action.cjs`) + const script = require('${{ github.action_path }}/action.cjs') await script({github, context, inputs, actionPath, core, debug: process.env.DEBUG === 'true'})