Skip to content

Commit

Permalink
Ci: update gh workflow ci 1.1.x (#194)
Browse files Browse the repository at this point in the history
* ci: add concurrency configuration to CI workflow

* fix: refactor image marker name generation
  • Loading branch information
JimmyDaddy authored Jan 10, 2024
1 parent 568571f commit 2eec9b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
types: [opened, synchronize, reopened]
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true

jobs:

install-dep:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ class ImageMarkerManager(private val context: ReactApplicationContext) : ReactCo
return if (null != filename) {
if (filename.endsWith(".jpg") || filename.endsWith(".png")) "$cacheDir/$filename" else "$cacheDir/$filename$ext"
} else {
val name = UUID.randomUUID().toString() + "image marker"
val name = UUID.randomUUID().toString() + "_image_marker"
"$cacheDir/$name$ext"
}
}
Expand Down

0 comments on commit 2eec9b6

Please sign in to comment.