From 5df00674e2e820b4eccc4a0f2d7f618d8d5b90b9 Mon Sep 17 00:00:00 2001 From: ikoamu Date: Tue, 23 Jan 2024 23:56:18 +0900 Subject: Add step to get the path of the calling workflow --- action.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/action.yml b/action.yml index de9607b..3c120f9 100644 --- a/action.yml +++ b/action.yml @@ -22,3 +22,9 @@ runs: uses: actions/setup-node@v3 with: node-version: "20.x" + + # 呼び出し側たworkflowsのディレクトリのパスを取得する + - name: Get the path of the calling workflow + id: get_path + run: | + echo "::set-output name=path::$(dirname $GITHUB_WORKFLOW)" -- cgit