commit b80ee97948f5c5d4739d5cf5ecccf828a5e452d2 parent 9f2c62f73aa2d7da3af01cd3c40c8b69145bf12d Author: finwo <finwo@pm.me> Date: Tue, 17 Oct 2023 23:27:22 +0200 Attempt adding dist dir as path to caller Diffstat:
| M | action.yml | | | 14 | ++++++++++++-- |
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/action.yml b/action.yml @@ -2,5 +2,15 @@ name: Setup DEP package manager description: Installs the DEP package manager into the runner runs: - using: "node16" - main: dist/action.js + using: "composite" + steps: + + - if: runner.os == 'Linux' + shell: bash + run: | + echo "dist" >> $GITHUB_PATH + + - if: runner.os == 'Windows' + shell: pwsh + run: | + echo "dist" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append