From ce8a57e8379172e210958e057866cb67e826477e Mon Sep 17 00:00:00 2001 From: Brian Corbin Date: Sat, 31 Aug 2024 23:49:05 -0400 Subject: [PATCH] build: publish to GitHub packages - ensure environment variables are set --- .github/workflows/gradle-publish.yml | 4 ++-- .../main/kotlin/buildlogic.java-common-conventions.gradle.kts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gradle-publish.yml b/.github/workflows/gradle-publish.yml index 1c58663..1196e97 100644 --- a/.github/workflows/gradle-publish.yml +++ b/.github/workflows/gradle-publish.yml @@ -40,5 +40,5 @@ jobs: - name: Publish to GitHub Packages run: ./gradlew publish env: - USERNAME: ${{ github.actor }} - TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_ACTOR: ${{ github.actor }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/buildSrc/src/main/kotlin/buildlogic.java-common-conventions.gradle.kts b/buildSrc/src/main/kotlin/buildlogic.java-common-conventions.gradle.kts index 58c886a..6b10a5c 100644 --- a/buildSrc/src/main/kotlin/buildlogic.java-common-conventions.gradle.kts +++ b/buildSrc/src/main/kotlin/buildlogic.java-common-conventions.gradle.kts @@ -60,7 +60,7 @@ testing { } } -val projectVersion by extra("1.1.0") +val projectVersion by extra("1.1.1") public val jdkVersion = 22 // Apply a specific Java toolchain to ease working on different environments.