Join Slack
Powered by
<@U0152P3VB5J> I see there’s a repeated piece in y...
# github-workflows-kt
p
Piotr Krzemiński
01/24/2023, 9:59 AM
@Vampire
I see there’s a repeated piece in your workflows:
the copyright note
. FYI, there’s a way to extract it to a common place (see
_shared.main.kts
in the lib), but in practice it’s unfortunately a bit painful to use due to these bugs: •
Scripts: @file:Import() in kotlin-main-kts uses a stale cache
•
Imported script are not supported for scripts outside of a source root
maybe you could +1 them to increase chances of getting them fixed because you’d potentially also use this feature
v
Vampire
01/24/2023, 12:52 PM
Ah, nice, was not aware of
@Import
, thanks. Will definitely have a look.
Vampire
01/24/2023, 3:46 PM
Yeah, much cleaner now, thanks:
https://github.com/Vampire/setup-wsl/commit/e15d79a0fee6b04e2d25deb7dc841885851b560a
5
Views
Open in Slack
Previous
Next