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

How to use exclude function #189

Open
vasagirisai opened this issue May 5, 2023 · 3 comments
Open

How to use exclude function #189

vasagirisai opened this issue May 5, 2023 · 3 comments

Comments

@vasagirisai
Copy link

I have a repo with files and directories , where in i need to exclude one directory, i would like to know how this can be achieved using this action.

With:
Filters: |

  • **/*.yml
  • !roles/*.yml
    This is code which i used , but this is not working . Kindly help thanks
@vasagirisai
Copy link
Author

vasagirisai commented May 5, 2023

There is also a warning too set-output command is deprecated how this can be remediated?

@DavidBackxDataroots
Copy link

The set-output command is indeed deprecated and will start throwing errors from 31st may if i'm not wrong. You can just change this to echo "ECR_REPO_URL=$(cd terraform_ecr && terraform output ecr_repository_url)" >> $GITHUB_OUTPUT
and you can still access this by ${{ steps.id.outputs.ECR_REPO_URL. Hope this fixes your set-output problem

@user1m
Copy link

user1m commented Jun 9, 2023

@vasagirisai solved by leveraging this fork: #106 (comment)

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

3 participants