mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #1044] Issue: cache busting does not work for actions pointing to branch #604
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#604
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @robertkowalski on GitHub (Mar 15, 2022).
Original GitHub issue: https://github.com/nektos/act/issues/1044
System information
act: node:12-buster-slimactversion: 4d71071Expected behaviour
Developing a with an action from the main or master branch should use the latest version from that branch
Actual behaviour
When you develop an action, and it points to a certain branch, e.g.
main, you have to delete~/.cache/act/manually in between each push to the branch. If not, act will use an outdated version of the action for the runWorkflow and/or repository
workflow
https://github.com/robertkowalski/act-issue
Rename a required argument in the code, then rerun act.
The change between the act runs can be found in this diff:
github.com/robertkowalski/act-issue@f6ca756b73Steps to reproduce
~/.cache/act/- it worksactoutputLog
@ChristopherHX commented on GitHub (Mar 15, 2022):
This issue appeared again https://github.com/nektos/act/issues/785? Or it was never fixed...
@ChristopherHX commented on GitHub (Mar 15, 2022):
I cannot reproduce it.
What I tried, with the same act version on windows + a fake ghes instance, with branch main as version
I also tried your sample repo, but still not reproducible
Did you change your github instance parameter of act, without cache reset? I ask because, this is a problem for me and leads to outdated actions.
@github-actions[bot] commented on GitHub (Apr 15, 2022):
Issue is stale and will be closed in 14 days unless there is new activity