From 6010f2b9fcb5cab2263dae320efdbe1f9b8d808c Mon Sep 17 00:00:00 2001 From: vectorsli <104021830+vectorsli@users.noreply.github.com> Date: Fri, 10 Feb 2023 14:31:56 +0100 Subject: [PATCH] Use `runner.temp` to be compatible with containers --- action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/action.yml b/action.yml index 73fbd61..f85640e 100644 --- a/action.yml +++ b/action.yml @@ -27,7 +27,7 @@ runs: tar \ --dereference --hard-dereference \ --directory "$INPUT_PATH" \ - -cvf "$RUNNER_TEMP/artifact.tar" \ + -cvf "${{ runner.temp }}/artifact.tar" \ --exclude=.git \ --exclude=.github \ . @@ -45,7 +45,7 @@ runs: gtar \ --dereference --hard-dereference \ --directory "$INPUT_PATH" \ - -cvf "$RUNNER_TEMP/artifact.tar" \ + -cvf "${{ runner.temp }}/artifact.tar" \ --exclude=.git \ --exclude=.github \ . @@ -60,7 +60,7 @@ runs: tar \ --dereference --hard-dereference \ --directory "$INPUT_PATH" \ - -cvf "$RUNNER_TEMP\artifact.tar" \ + -cvf "${{ runner.temp }}\artifact.tar" \ --exclude=.git \ --exclude=.github \ --force-local \