From bc56115977ce3419aeb3397dc6a67e7408c464db Mon Sep 17 00:00:00 2001 From: kezhenxu94 Date: Fri, 24 Feb 2023 17:51:32 +0800 Subject: [PATCH] Fix GitHub Actions wrong path --- dependency/action.yml | 2 +- header/action.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dependency/action.yml b/dependency/action.yml index 0b91f28..a201420 100644 --- a/dependency/action.yml +++ b/dependency/action.yml @@ -67,7 +67,7 @@ runs: key: license-eye-${{ runner.os }}-go-${{ hashFiles(format('{0}/{1}', github.action_path, 'go.sum')) }} restore-keys: license-eye-${{ runner.os }}-go- - shell: bash - run: make -C $GITHUB_ACTION_PATH install + run: make -C $GITHUB_ACTION_PATH/.. install - shell: bash env: GITHUB_TOKEN: ${{ inputs.token }} diff --git a/header/action.yml b/header/action.yml index faa0874..08b9153 100644 --- a/header/action.yml +++ b/header/action.yml @@ -73,7 +73,7 @@ runs: key: license-eye-${{ runner.os }}-go-${{ hashFiles(format('{0}/{1}', github.action_path, 'go.sum')) }} restore-keys: license-eye-${{ runner.os }}-go- - shell: bash - run: make -C $GITHUB_ACTION_PATH install + run: make -C $GITHUB_ACTION_PATH/.. install - shell: bash env: GITHUB_TOKEN: ${{ inputs.token }}