-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
78 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
# This file is to re-trigger release builds as a workaround to failed steps which require code changes. | ||
|
||
name: Release (manual) | ||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
# release_web: | ||
# name: Web | ||
# runs-on: windows-latest | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# - uses: actions/setup-node@v4 | ||
# with: | ||
# node-version: 'lts/*' | ||
# - run: npm install | ||
# - run: node ./scripts/update-version.js ${{github.run_number}} | ||
# - run: npm run build | ||
# - run: npm pack | ||
# - uses: actions/setup-node@v4 | ||
# with: | ||
# node-version: 'lts/*' | ||
# registry-url: https://registry.npmjs.org/ | ||
# - name: Publish to NPM (release) | ||
# run: npm publish --access public | ||
# env: | ||
# NODE_AUTH_TOKEN: ${{secrets.NPMJS_AUTH_TOKEN}} | ||
|
||
# release_csharp: | ||
# name: C# | ||
# runs-on: windows-latest | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# - uses: actions/setup-node@v4 | ||
# with: | ||
# node-version: 'lts/*' | ||
# - uses: actions/setup-dotnet@v4 | ||
# with: | ||
# dotnet-version: '8' | ||
# env: | ||
# 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 | ||
# - 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 | ||
|
||
release_kotlin_android: | ||
name: Kotlin (Android) | ||
runs-on: windows-latest | ||
env: | ||
OSSRH_USERNAME: ${{secrets.OSSRH_USERNAME}} | ||
OSSRH_PASSWORD: ${{secrets.OSSRH_PASSWORD}} | ||
SONATYPE_STAGING_PROFILE_ID: ${{secrets.SONATYPE_STAGING_PROFILE_ID}} | ||
SONATYPE_SIGNING_KEY_ID: ${{secrets.SONATYPE_SIGNING_KEY_ID}} | ||
SONATYPE_SIGNING_PASSWORD: ${{secrets.SONATYPE_SIGNING_PASSWORD}} | ||
SONATYPE_SIGNING_KEY: ${{secrets.SONATYPE_SIGNING_KEY}} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 'lts/*' | ||
|
||
- uses: actions/setup-java@v4 | ||
with: | ||
java-version: "19" | ||
distribution: "temurin" | ||
|
||
- run: npm install | ||
- run: node ./scripts/update-kotlin-version.js | ||
- run: npm run build-kotlin | ||
- run: .\gradlew.bat publishAllPublicationsToSonatypeRepository closeAndReleaseSonatypeStagingRepository | ||
working-directory: ./src.kotlin/alphaTab/ | ||
|
||
- run: .\gradlew.bat --stop | ||
working-directory: ./src.kotlin/alphaTab/ | ||
|