From 9c9315f3490205fb48f7e56c9bc433c84f823a9e Mon Sep 17 00:00:00 2001 From: Davis Luxenberg <74377508+BeepBot99@users.noreply.github.com> Date: Thu, 5 Jun 2025 15:43:43 -0500 Subject: [PATCH 1/7] fix yaml syntax --- .github/workflows/deploy-release.yml | 38 ++++++++++++++-------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/deploy-release.yml b/.github/workflows/deploy-release.yml index e6bc69b..4e0efb4 100644 --- a/.github/workflows/deploy-release.yml +++ b/.github/workflows/deploy-release.yml @@ -7,22 +7,22 @@ on: jobs: deploy-release: runs-on: ubuntu-latest - permissions: - contents: read - steps: - - uses: actions/checkout@v4 - - name: Set up JDK 17 - uses: actions/setup-java@v4 - with: - java-version: '17' - distribution: 'temurin' - - name: Grant execute permission - run: chmod +x gradlew - - name: Deploy to Maven Central - run: ./gradlew deployCentralPortal -Pversion=$VERSION - env: - MVN_GPG_KEY: ${{ secrets.MVN_GPG_KEY }} - MVN_GPG_PASSWORD: ${{ secrets.MVN_GPG_PASSWORD }} - SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} - SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} - VERSION: ${{ github.event.release.tag_name.substring(1) }} + permissions: + contents: read + steps: + - uses: actions/checkout@v4 + - name: Set up JDK 17 + uses: actions/setup-java@v4 + with: + java-version: '17' + distribution: 'temurin' + - name: Grant execute permission + run: chmod +x gradlew + - name: Deploy to Maven Central + run: ./gradlew deployCentralPortal -Pversion=$VERSION + env: + MVN_GPG_KEY: ${{ secrets.MVN_GPG_KEY }} + MVN_GPG_PASSWORD: ${{ secrets.MVN_GPG_PASSWORD }} + SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} + SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} + VERSION: ${{ github.event.release.tag_name.substring(1) }} From 3eca875ffcd96b9dd3c2ab0e56c0502100b85789 Mon Sep 17 00:00:00 2001 From: Davis Luxenberg <74377508+BeepBot99@users.noreply.github.com> Date: Thu, 5 Jun 2025 15:45:33 -0500 Subject: [PATCH 2/7] Update deploy-release.yml --- .github/workflows/deploy-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-release.yml b/.github/workflows/deploy-release.yml index 4e0efb4..7e57d0e 100644 --- a/.github/workflows/deploy-release.yml +++ b/.github/workflows/deploy-release.yml @@ -25,4 +25,4 @@ jobs: MVN_GPG_PASSWORD: ${{ secrets.MVN_GPG_PASSWORD }} SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} - VERSION: ${{ github.event.release.tag_name.substring(1) }} + VERSION: ${{ github.event.release.tag_name }} From 7bb90541bb74a2c996413d5fb9fc8c5316f423dc Mon Sep 17 00:00:00 2001 From: Davis Luxenberg <74377508+BeepBot99@users.noreply.github.com> Date: Fri, 6 Jun 2025 13:52:26 -0500 Subject: [PATCH 3/7] Add @JvmStatic to BindingManager --- src/main/kotlin/dev/nextftc/bindings/BindingManager.kt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/dev/nextftc/bindings/BindingManager.kt b/src/main/kotlin/dev/nextftc/bindings/BindingManager.kt index 83c8662..d0e2f91 100644 --- a/src/main/kotlin/dev/nextftc/bindings/BindingManager.kt +++ b/src/main/kotlin/dev/nextftc/bindings/BindingManager.kt @@ -35,6 +35,7 @@ object BindingManager { /** * The current layer, or null if there is no current layer. */ + @JvmStatic var layer: String? = null private val variables = mutableListOf>() private val buttons = mutableListOf