Skip to content

support a working-directory input #4

@mvdan

Description

@mvdan

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/multiple-go-modules@v1.1

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions