-
Notifications
You must be signed in to change notification settings - Fork 207
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
ci: Fix cache version on Windows #3119
Conversation
The existing code doesn't seem to be working correctly -- maybe windows isn't running the script correctly? https://github.com/PRQL/prql/actions/runs/5673273615/job/15374368488#step:8:60 Let's try this.
No luck unfortunately — https://github.com/PRQL/prql/actions/runs/5673550570/job/15375269508?pr=3119 Happy if we can resolve a different way @not-my-profile . The old approach was worse but worked, so if you prefer to revert, that's fine too. |
Perhaps it has something to do with the lack of shebang? |
I don't think Windows supports shebangs ... and the GitHub workflow doc also doesn't mention them. |
If we specify shell as bash on Windows on GHA, it is bash on MinGW or something and shebangs will be used, I believe. |
Yes but at that point it's already running in bash so we don't need a shebang anymore. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The existing code doesn't seem to be working correctly -- maybe windows isn't running the script correctly? https://github.com/PRQL/prql/actions/runs/5673273615/job/15374368488#step:8:60
Let's try this.