Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Danielku15 committed May 15, 2024
2 parents 4f09eed + 8082bf1 commit 48fd9ac
Showing 1 changed file with 78 additions and 0 deletions.
78 changes: 78 additions & 0 deletions .github/workflows/release-kotlin-manual.yml
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/

0 comments on commit 48fd9ac

Please sign in to comment.