From 6a4a8ea5553962e0e4e4401da8f41cc0f5294bb2 Mon Sep 17 00:00:00 2001 From: dmotte <37443982+dmotte@users.noreply.github.com> Date: Tue, 28 Nov 2023 23:16:58 +0100 Subject: [PATCH] Improved CI/CD with GITHUB_ACTION_PATH env var --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 468f6f8..a1f9979 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,4 +11,5 @@ jobs: job: permissions: { contents: write } uses: dmotte/misc/.github/workflows/cicd-with-script.yml@main - with: { path: scripts/cicd/rust-app.sh } + with: + path: $GITHUB_ACTION_PATH/../../scripts/cicd/rust-app.sh