Comments (9)
Can you link to an example that's failing? It seems to be working as expected in https://github.com/Homebrew/brew/actions/runs/3573828538/jobs/6008467172#step:3:11
from actions.
Sure thing - can you see the contents of the steps here:
https://github.com/PatTheMav/homebrew-custom/actions/runs/3574049627/jobs/6008840464#step:20:3
from actions.
Yeah this is a problem introduced with actions/cache v2 (v1 works and is what we still use in some places).
The problem is v2 strongly assumes GITHUB_WORKSPACE
and the working directory are identical. While I don't particularly agree with that assumption since it clearly breaks things when that's not the case, we also probably shouldn't be replacing GITHUB_WORKSPACE
like we do in setup-homebrew.
I'd like to get rid of our GITHUB_WORKSPACE
symlink and follow the self-hosted path we currently have. There are some compatibility concerns in doing so however, but may have to bite the bullet at some point.
from actions.
So for now the fix is to use the v1 action until you found the bandwidth to update the action? Sounds fair enough, will try to check back every now and then for a new version (or maybe brew spits it out in a changelog).
from actions.
Yeah we kind of backed ourselves into a corner by recommending Homebrew/actions/setup-homebrew@master
instead of using a v1 branch.
I think a lot will be ok except a handful of workflows that reference GITHUB_WORKSPACE
directly. Just need to coordinate that a bit across repos.
from actions.
@Bo98 I guess whatever we do will need to be backwards and forwards compatible
from actions.
Somewhat impossible situation given either the symlink exists or it doesn't. The only real middle ground would be to reverse it so that the clone lies in GITHUB_WORKSPACE
and the symlink is in the Taps
directory instead.
Still a small compatibility concern for the workflows where we hack a workaround for cache v2 with rm $GITHUB_WORKSPACE
, though we'd want to drop that workaround anyway.
from actions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
from actions.
This should now be fixed.
from actions.
Related Issues (20)
- remove use of add-path HOT 1
- check-commit-style toggles automerge-skip label HOT 3
- Triage action runs twice in brew HOT 3
- Allow external taps to use setup-homebrew on self-hosted runners HOT 3
- `check-commit-format` labels all cask PRs as `automerge-skip`
- `pr_body_content`: in homebrew-cask, empty body Cask PRs are labeled as `bump-cask-pr`
- fatal: could not read Username for 'https://github.com': No such device or address HOT 2
- Homebrew/actions/setup-homebrew@master - Issue HOT 12
- Bump Cask PR HOT 5
- Linter for checking github action yaml syntax HOT 9
- The `set-output` command is deprecated and will be disabled soon HOT 4
- Changes in #324 break our actions/setup-homebrew deployment HOT 3
- setup-homebrew should add the core tap if missing HOT 3
- `Setup Homebrew` action started failing HOT 2
- Feature: action that limits amount of open pull requests by the same author HOT 15
- Allow `git-try-push` to push to PR branches.
- - HOT 1
- Setup Homebrew fails: aborting due to possible repository corruption on the remote side. HOT 3
- cancel-previous-runs make workflow an optional argument HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from actions.