FML, was going to publish build scans on "main" an...
# community-support
c
FML, was going to publish build scans on "main" and tags only... but it breaks the cache. Is there a better solution?
Copy code
Calculating task graph as configuration cache cannot be reused because environment variable 'GITHUB_REF_PROTECTED' has changed.
Copy code
Cache is read-only: will not save state for use in subsequent builds.
v
Maybe decide in the GitHub Action workflow whether you want a build scan and use
--scan
if you want one?
a
Are you reading the environment variable in order to add a build scan tag? If so you can use the
background { }
block.
c
I was just doing an
alwaysIf
. I'm probably fine just doing it alwaysIfFailure(CI)... not having read the ToS not certain if the information is used by anyone other than me
most of the time, no need to look at a successful build
I suppose doing something in the workflow itself is also an option