Skip to content

Failing composite action verbatim from docs #24985

Discussion options

You must be logged in to vote

UPDATE:

made it work on “ubuntu-latest” by adding the “chmod +x goodbye.sh” to the action itself like this (ALTHOUGH, in the documentation it is not described that way):

    - run: |
        cd ${{ github.action_path }}
        chmod +x goodbye.sh
      shell: bash

However on “windows-latest”, the “cd ${{ github.action_path }}” returns and error that there is no such a directory:

D:\a\_temp\51f7870d-4631-483a-bc67-da3993b468e4.sh: line 2: cd: D:a_actionsaleks-ivanovtest-actionmain: No such file or directory

UPDATE 2:

made it work on “windows-latest” as well.

Turns out that “windows-latest” doesn’t work with ${{ github.action_path }}, so instead I used $GITHUB_ACTION_PATH, which apparent…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants