android-version-actions icon indicating copy to clipboard operation
android-version-actions copied to clipboard

Action does not respect the job's `working-directory`

Open jbstewart opened this issue 2 years ago • 0 comments

Thanks for this great action!

My problem is that the job that includes this action has the following properties set for the job (it's a monorepo with servers, web apps and several Android apps):

    defaults:
      run:
        working-directory: ./Apps/Android/Root

When I try to use the action:

      - name: + Bump Android App #1 version
        uses: chkfung/[email protected]
        with:
          gradlePath: app-one/build.gradle
          versionCode: ${{ env.ANDROID_BUILD_CODE }}

the action fails, but if I change it to:

      - name: + Bump Android App #1 version
        uses: chkfung/[email protected]
        with:
          gradlePath: Apps/Android/Root/app-one/build.gradle
          versionCode: ${{ env.ANDROID_BUILD_CODE }}

then the action works correctly.

PROBLEM: The action should respect the job's working-directory.

jbstewart avatar Jan 27 '23 04:01 jbstewart