Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
with:
node-version: 'lts/*'
- run: npm install
- run: npm run build-ci
- run: npm run test-ci
- run: npm run build
- run: npm run test

build_csharp:
name: Build and Test C#
Expand All @@ -32,8 +32,8 @@ jobs:
with:
dotnet-version: '6'
- run: npm install
- run: npm run build-csharp-ci
- run: npm run test-csharp-ci
- run: npm run build-csharp
- run: npm run test-csharp

build_kotlin:
name: Build and Test Kotlin
Expand All @@ -56,6 +56,6 @@ jobs:
restore-keys: |
${{ runner.os }}-gradle-cache-v3-${{ github.job }}-
- run: npm install
- run: npm run build-kotlin-ci
- run: npm run test-kotlin-ci
- run: npm run build-kotlin
- run: npm run test-kotlin
- run: ./src.kotlin/alphaTab/gradlew --stop
7 changes: 4 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ jobs:

- run: npm install
- run: node ./scripts/update-version.js alpha ${{github.run_number}}
- run: npm run build-ci
- run: npm run build
- run: npm pack

- uses: actions/setup-node@v3
with:
Expand Down Expand Up @@ -65,7 +66,7 @@ jobs:

- run: npm install
- run: node ./scripts/update-csharp-version.js alpha ${{github.run_number}}
- run: npm run build-csharp-ci
- run: npm run build-csharp

- run: dotnet nuget push src.csharp\AlphaTab\bin\Release\*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json
- run: dotnet nuget push src.csharp\AlphaTab.Windows\bin\Release\*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json
Expand Down Expand Up @@ -97,7 +98,7 @@ jobs:

- run: npm install
- run: node ./scripts/update-kotlin-version.js SNAPSHOT
- run: npm run build-kotlin-ci
- run: npm run build-kotlin

- run: .\gradlew.bat publishAllPublicationsToSonatypeRepository closeAndReleaseSonatypeStagingRepository
working-directory: ./src.kotlin/alphaTab/
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ jobs:
node-version: 'lts/*'
- run: npm install
- run: node ./scripts/update-version.js ${{github.run_number}}
- run: npm run build-ci
- run: npm run build
- run: npm pack
- uses: actions/setup-node@v3
with:
node-version: 'lts/*'
Expand All @@ -40,6 +41,6 @@ jobs:
NUGET_AUTH_TOKEN: ${{secrets.NUGET_API_KEY}}
- run: npm install
- run: node ./scripts/update-csharp-version.js ${{github.run_number}}
- run: npm run build-csharp-ci
- run: npm run build-csharp
- 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
- 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
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ gradle-app.setting
!gradle-wrapper.jar
.gradletasknamecache
**/build/
local.properties
local.properties
.rollup.cache
test-data/bundler/webpack/out/
Loading