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

Adhere to defaults.run working-directory? #152

Open
AlexHedley opened this issue Dec 23, 2021 · 1 comment
Open

Adhere to defaults.run working-directory? #152

AlexHedley opened this issue Dec 23, 2021 · 1 comment

Comments

@AlexHedley
Copy link

Should this adhere to the defaults.run working-directory and prepend?

defaults:
  run:
    working-directory: ./src/

With

      - name: Test Report
        uses: dorny/test-reporter@v1
        if: success() || failure()    # run this step even if previous step failed
        with:
          name: JEST Tests            # Name of the check run which will be created
          path: reports/jest-*.xml    # Path to test results
          reporter: jest-junit        # Format of test results

path becomes ./src/reports/jest-*.xml

@myzamaraev
Copy link

myzamaraev commented Oct 7, 2023

As a workaround it's possible to set working directory through action itself, then path will be combined properly.
Check an example in replies to another issue.

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

No branches or pull requests

2 participants