[Bug] Wrappers update check job cannot find date.txt
See original GitHub issue Error: Exception in thread "main" java.io.FileNotFoundException: build/action-yaml/date.txt (No such file or directory)
at java.base/java.io.FileOutputStream.open0(Native Method)
at java.base/java.io.FileOutputStream.open(FileOutputStream.java:298)
at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:237)
at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:187)
at kotlin.io.FilesKt__FileReadWriteKt.writeBytes(FileReadWrite.kt:108)
at kotlin.io.FilesKt__FileReadWriteKt.writeText(FileReadWrite.kt:134)
at kotlin.io.FilesKt__FileReadWriteKt.writeText$default(FileReadWrite.kt:134)
at it.krzeminski.githubactions.wrappergenerator.metadata.MetadataReadingKt.deleteActionYamlCacheIfObsolete(MetadataReading.kt:92)
at it.krzeminski.githubactions.wrappergenerator.GenerationEntryPointKt.generateWrappers(GenerationEntryPoint.kt:40)
at it.krzeminski.githubactions.wrappergenerator.GenerationEntryPointKt.main(GenerationEntryPoint.kt:35)
at it.krzeminski.githubactions.wrappergenerator.GenerationEntryPointKt.main(GenerationEntryPoint.kt)
Issue Analytics
- State:
- Created a year ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Bug listing with status RESOLVED with resolution FIXED as at ...
Bug listing with status RESOLVED with resolution FIXED as at 2022/12/17 06:46:03.
Read more >What does the error message "fork failed: Resource ...
The system ran out of memory and new processes were unable to start because they could not allocate memory. There is not an...
Read more >Could not find a version that satisfies the requirement in python
While running pip install virtualenv command in terminal I am getting following error. Could not find a version that satisfies the requirement ...
Read more >Building a Native Executable - Quarkus
Compiling the application to a native executable ... The production executable will contain only the version.txt resource, no superfluous test data.
Read more >Microsoft Information Protection (MIP) SDK version release ...
Added support for offline publishing preview feature. Fixed a bug where wrappers were missing telemetry cloud for sovereign cloud scenarios.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@krzema12 oh the file is
build/action-yaml/date.txt
maybe we need to doFile("build/action-yaml").mkdirs()
to be sure the parent directory existsWorks again: https://github.com/krzema12/github-actions-kotlin-dsl/actions/runs/2802852587