Skip to content

Commit

Permalink
tryout
Browse files Browse the repository at this point in the history
  • Loading branch information
MO2k4 committed Aug 21, 2024
1 parent 41eba3c commit 4a2d995
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -200,11 +200,10 @@ tasks.prepareSandbox {

tasks.publishPlugin {
// dependsOn(testDotNet)
val file = file("output/${DotnetPluginId}.${version}.nupkg")
if (!file.exists()) throw RuntimeException("File $file does not exist")
else println("File $file does exist")

println("executes publishPlugin")
dependsOn(tasks.buildPlugin)
println("set publish token")
token.set(PublishToken)

doLast {
Expand Down

0 comments on commit 4a2d995

Please sign in to comment.