From 709dbc8011e1ffcd565842d74486cf418e4328c7 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Fri, 20 Oct 2023 12:15:06 +0200 Subject: [PATCH] Fix sed --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 04f5235..014d4fb 100644 --- a/action.yml +++ b/action.yml @@ -116,7 +116,7 @@ runs: run: | cat ${{ runner.temp }}/plugin-check-results.txt echo $PLUGIN_DIR - RELATIVE_DIR=$(echo $PLUGIN_DIR | sed s/"$GITHUB_WORKSPACE"//) + RELATIVE_DIR=$(echo $PLUGIN_DIR | sed "s@$GITHUB_WORKSPACE@@g") echo $RELATIVE_DIR node dist/index.js ${{ runner.temp }}/plugin-check-results.txt $RELATIVE_DIR shell: bash