File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed
generator/src/main/kotlin/io/github/hosseinkarami_dev/near/rpc/generator Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change 2929 - name : Grant execute permission for gradlew
3030 run : chmod +x ./gradlew
3131
32- - name : Fix permissions
33- run : |
34- chmod -R 777 models/src/main/kotlin
35- chmod -R 777 client/src/main/kotlin
36-
3732 - name : Run Generator
3833 run : ./gradlew :generator:run --no-daemon
3934
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import java.io.File
99fun main (args : Array <String >) {
1010 val parser = ArgParser (" generator" )
1111
12- val rootDir = File (System .getProperty(" user.dir" ), " .." ).canonicalPath
12+ val rootDir = System .getenv( " GITHUB_WORKSPACE " ) ? : File (System .getProperty(" user.dir" ), " .." ).canonicalPath
1313
1414 val openApiUrl by parser.option(
1515 ArgType .String ,
You can’t perform that action at this time.
0 commit comments