@@ -24,17 +24,18 @@ jobs:
2424 name : Web
2525 needs : check_sha
2626 if : needs.check_sha.outputs.hit == 'false'
27- runs-on : windows -latest
27+ runs-on : ubuntu -latest
2828 steps :
2929 - uses : actions/checkout@v4
30-
30+ with :
31+ lfs : true
3132 - uses : actions/setup-node@v4
3233 with :
3334 node-version : ' lts/*'
3435 cache : ' npm'
3536
36- - run : npm install
3737 - run : node ./scripts/update-version.js alpha ${{github.run_number}}
38+ - run : npm install
3839 - run : npm run build
3940 - run : npm pack
4041
@@ -51,10 +52,11 @@ jobs:
5152 name : C#
5253 needs : check_sha
5354 if : needs.check_sha.outputs.hit == 'false'
54- runs-on : windows -latest
55+ runs-on : ubuntu -latest
5556 steps :
5657 - uses : actions/checkout@v4
57-
58+ with :
59+ lfs : true
5860 - uses : actions/setup-node@v4
5961 with :
6062 node-version : ' lts/*'
@@ -68,24 +70,24 @@ jobs:
6870 - run : node ./scripts/update-csharp-version.js alpha ${{github.run_number}}
6971 - run : npm run build-csharp
7072
71- - run : dotnet nuget push src.csharp\ AlphaTab\ bin\ Release\ *.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json
72- - run : dotnet nuget push src.csharp\ AlphaTab.Windows\ bin\ Release\ *.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json
73+ - run : dotnet nuget push src.csharp/ AlphaTab/ bin/ Release/ *.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json
74+ - run : dotnet nuget push src.csharp/ AlphaTab.Windows/ bin/ Release/ *.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json
7375
7476 nightly_kotlin_android :
7577 name : Kotlin (Android)
7678 needs : check_sha
7779 if : needs.check_sha.outputs.hit == 'false'
78- runs-on : windows -latest
80+ runs-on : ubuntu -latest
7981 env :
80- OSSRH_USERNAME : ${{secrets.OSSRH_USERNAME}}
81- OSSRH_PASSWORD : ${{secrets.OSSRH_PASSWORD}}
82- SONATYPE_STAGING_PROFILE_ID : ${{secrets.SONATYPE_STAGING_PROFILE_ID}}
83- SONATYPE_SIGNING_KEY_ID : ${{secrets.SONATYPE_SIGNING_KEY_ID}}
84- SONATYPE_SIGNING_PASSWORD : ${{secrets.SONATYPE_SIGNING_PASSWORD}}
85- SONATYPE_SIGNING_KEY : ${{secrets.SONATYPE_SIGNING_KEY}}
82+ ORG_GRADLE_PROJECT_mavenCentralUsername : ${{secrets.OSSRH_USERTOKEN_USERNAME}}
83+ ORG_GRADLE_PROJECT_mavenCentralPassword : ${{secrets.OSSRH_USERTOKEN_PASSWORD}}
84+ ORG_GRADLE_PROJECT_signingInMemoryKeyId : ${{secrets.SONATYPE_SIGNING_KEY_ID}}
85+ ORG_GRADLE_PROJECT_signingInMemoryKeyPassword : ${{secrets.SONATYPE_SIGNING_PASSWORD}}
86+ ORG_GRADLE_PROJECT_signingInMemoryKey : ${{secrets.SONATYPE_SIGNING_KEY}}
8687 steps :
8788 - uses : actions/checkout@v4
88-
89+ with :
90+ lfs : true
8991 - uses : actions/setup-node@v4
9092 with :
9193 node-version : ' lts/*'
@@ -100,9 +102,9 @@ jobs:
100102 - run : node ./scripts/update-kotlin-version.js SNAPSHOT
101103 - run : npm run build-kotlin
102104
103- - run : .\ gradlew.bat publishAllPublicationsToSonatypeRepository closeAndReleaseSonatypeStagingRepository
105+ - run : ./ gradlew publishToMavenCentral
104106 working-directory : ./src.kotlin/alphaTab/
105107
106- - run : .\ gradlew.bat --stop
108+ - run : ./ gradlew --stop
107109 working-directory : ./src.kotlin/alphaTab/
108110
0 commit comments