diff options
author | ikoamu <ikoamu@gmail.com> | 2024-01-23 23:56:18 +0900 |
---|---|---|
committer | ikoamu <ikoamu@gmail.com> | 2024-01-23 23:56:18 +0900 |
commit | 5df00674e2e820b4eccc4a0f2d7f618d8d5b90b9 (patch) | |
tree | be67c4dc715037c1fa854ccb9ab402c11c2057b0 /action.yml | |
parent | f65b21f54fe6054087965edd7ed7737124e906bb (diff) |
Add step to get the path of the calling workflow
Diffstat (limited to 'action.yml')
-rw-r--r-- | action.yml | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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)" |