aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--action.yml6
1 files changed, 6 insertions, 0 deletions
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)"