Skip to content

findfiles doesnt seem to work with linux relative paths #1

Description

@issc29

When trying to use appservice-actions Webapp deployer, I tried using the package syntax with a relative path (or variable) and glob (example: ./target/*.jar or ${GITHUB_WORKSPACE/target/*.jar}) and it was not able to pick up the package that I wanted.

    - uses: azure/appservice-actions/webapp@master
      with: 
        app-name: example
        publish-profile: ${{ secrets.azureWebAppPublishProfile }}
        package:  ./target/example*.jar 

When I set it to a direct path with glob it worked.

    - uses: azure/appservice-actions/webapp@master
      with: 
        app-name: example
        publish-profile: ${{ secrets.azureWebAppPublishProfile }}
        package:  /home/runner/work/example/example/target/example*.jar 

I was able to trace it back to this package and I believe there is something wrong in the utility not respecting linux relative paths or environment variables in the path.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

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