Skip to content

Commit

Permalink
revert report name
Browse files Browse the repository at this point in the history
  • Loading branch information
saied89 committed Oct 16, 2023
1 parent 30e91d6 commit 360db03
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
files: |
app/build/outputs/apk/release/app-release.apk
app/build/outputs/bundle/release/app-release.aab
samples/build/generated/ksp/release/resources/samples_report.txt
samples/build/generated/ksp/release/resources/assets/samples_report.txt
samples/build/generated/ksp/release/resources/skipped_report.txt
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class NewSamplesViewModel(application: Application) : AndroidViewModel(applicati
newModuleSamples = buildList {
var moduleName = ""
val curSamples = mutableListOf<String>()
assetsManager.open("samples_report_new.txt").bufferedReader().forEachLine { line ->
assetsManager.open("samples_report.txt").bufferedReader().forEachLine { line ->
if (line.endsWith(" Module:")) {
val newModuleName = line.trim().split(' ').first()
if (moduleName.isNotEmpty() && curSamples.isNotEmpty()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class SamplesProcessor(
}
codeGenerator.createNewFileByPath(
Dependencies(false),
"assets/samples_report_new",
"assets/samples_report",
extensionName = "txt"
).use {
it.bufferedWriter().use { writer ->
Expand Down

0 comments on commit 360db03

Please sign in to comment.