File tree Expand file tree Collapse file tree 2 files changed +30
-1
lines changed Expand file tree Collapse file tree 2 files changed +30
-1
lines changed Original file line number Diff line number Diff line change 4444 - run : npm run build-csharp
4545 - run : dotnet nuget push src.csharp\AlphaTab\bin\Release\*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate
4646 - run : dotnet nuget push src.csharp\AlphaTab.Windows\bin\Release\*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate
47+
48+ release_kotlin_android :
49+ name : Kotlin (Android)
50+ runs-on : windows-latest
51+ env :
52+ OSSRH_USERNAME : ${{secrets.OSSRH_USERNAME}}
53+ OSSRH_PASSWORD : ${{secrets.OSSRH_PASSWORD}}
54+ SONATYPE_STAGING_PROFILE_ID : ${{secrets.SONATYPE_STAGING_PROFILE_ID}}
55+ SONATYPE_SIGNING_KEY_ID : ${{secrets.SONATYPE_SIGNING_KEY_ID}}
56+ SONATYPE_SIGNING_PASSWORD : ${{secrets.SONATYPE_SIGNING_PASSWORD}}
57+ SONATYPE_SIGNING_KEY : ${{secrets.SONATYPE_SIGNING_KEY}}
58+ steps :
59+ - uses : actions/checkout@v4
60+ - uses : actions/setup-node@v4
61+ with :
62+ node-version : ' lts/*'
63+ - uses : actions/setup-dotnet@v4
64+ with :
65+ dotnet-version : ' 8'
66+
67+ - run : npm install
68+ - run : node ./scripts/update-kotlin-version.js
69+ - run : npm run build-kotlin
70+ - run : .\gradlew.bat publishAllPublicationsToSonatypeRepository closeAndReleaseSonatypeStagingRepository
71+ working-directory : ./src.kotlin/alphaTab/
72+
73+ - run : .\gradlew.bat --stop
74+ working-directory : ./src.kotlin/alphaTab/
75+
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ if(process.argv.length === 3) {
88 // update-kotlin-version.js SNAPSHOT
99 // -> version = "1.3.0-SNAPSHOT"
1010 version = `${ version } -${ process . argv [ 2 ] } ` ;
11- } else if ( process . argv . length === 3 ) {
11+ } else if ( process . argv . length === 2 ) {
1212 // update-kotlin-version.js
1313 // -> version = "1.3.0"
1414}
You can’t perform that action at this time.
0 commit comments