Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support a working-directory input #4

Closed
mvdan opened this issue Jul 27, 2021 · 0 comments · Fixed by #6
Closed

support a working-directory input #4

mvdan opened this issue Jul 27, 2021 · 0 comments · Fixed by #6

Comments

@mvdan
Copy link

mvdan commented Jul 27, 2021

Just like https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsrun.

Note that trying to use that step field directly on a custom action fails:

     - name: bump go.mod go version if needed
       working-directory: ${{ env.TARGET_REPO_DIR }}
       uses: protocol/[email protected]

The workflow is not valid. .github/workflows/copy-workflow.yml (Line: 96, Col: 7): Unexpected value 'uses' .github/workflows/copy-workflow.yml (Line: 97, Col: 7): Unexpected value 'with'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant