diff --git a/.github/workflows/actions.install.yml b/.github/workflows/actions.install.yml index 83effc5..458a2f5 100644 --- a/.github/workflows/actions.install.yml +++ b/.github/workflows/actions.install.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: jonpugh/goatscripts@main + - uses: jonpugh/goatscripts@bug/path with: path: .custom/goatscripts @@ -26,10 +26,12 @@ jobs: Use this file as an example to install and use the scripts. - run: run-with-summary which run-with-summary + working-directory: .custom env: SUCCESS: "run-with-summary is installed." DEBUG: yes + - run: run-with-summary curl https://api.github.com/ env: SUCCESS: GitHub API is active diff --git a/action.yml b/action.yml index 027b5d3..f54506b 100644 --- a/action.yml +++ b/action.yml @@ -20,5 +20,7 @@ runs: - name: Set path shell: bash + env: + SRC_PATH: ${{ inputs.path }}/src run: | - echo "$(pwd)/${{ inputs.path }}/src" >> $GITHUB_PATH + echo "$GITHUB_WORKSPACE/$SRC_PATH" >> $GITHUB_PATH