-
Notifications
You must be signed in to change notification settings - Fork 52
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
Allow absolute version file paths #258
Allow absolute version file paths #258
Conversation
Thanks for this. I'll try to find out why the Actions didn't run, but the change seems sane. |
Would you mind rebasing as a way to force-push something and check what happens with CI? Thanks. |
fc2e991
to
6089fb9
Compare
@paulo-ferraz-oliveira It seems like you don't have You need something like this: |
That makes sense. |
Or just Careful: If you enable |
I usually do this: on:
push:
branches:
- main
pull_request:
branches:
- "*"
workflow_dispatch: {} |
6089fb9
to
e8ad932
Compare
That's what we had before and reverted because we thought only |
f4aa900
to
0430fb6
Compare
e8ad932
to
23947ae
Compare
I've merged the |
@paulo-ferraz-oliveira Rebased and it seems to work 👍 |
Would you add a simple test? Maybe just take what's there, and extend it to have a file under |
23947ae
to
45fe232
Compare
@paulo-ferraz-oliveira I've changed it so that i tests both relative and absolute paths. |
There's no need to keep rebase-squashing the changes 😄 (it forces the reviewer to read the commit all over again). If required (though it's already our policy before merging) we'd kindly ask you to squash everything together. I'll look at what I have now, though. |
45fe232
to
8bc9b33
Compare
Just two minor comments (not worth tweaking what doesn't need tweaking - since it changes history and makes for harder future spelunking) but Ok otherwise. |
@paulo-ferraz-oliveira I though it makes sense to group the statements together so that it is easier to understand. I removed the extra lines. |
Yeah, but during a review it only makes it harder:
|
8bc9b33
to
1f7abda
Compare
You keep force-pushing even though I've given you reasons and politely asked you not to. 😄 Your changes will be squash-merged before going to the main branch, via GitHub. |
@paulo-ferraz-oliveira Oh, ups, I missed that comment. I'll stop doing that. |
It's Ok. I'll merge now and check if we're Ok to release. Thanks. |
Released in v1.17.4 (v1 and v1.17 reset to the same commit). |
@paulo-ferraz-oliveira Thanks! The tags |
Yeah, I didn't force push 😄 Thanks for noticing. |
Done. |
Description
When using an absolute path like
/tmp/.tool-versions
, the action would look in the file/$GITHUB_WORKSPACE/tmp/.tool-versions
. This change lets it consider absolute paths as well.