diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d44fd91..27ee008 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,7 +17,7 @@ jobs: env: ARTIFACTORY_USER: ${{ secrets.ARTIFACTORY_USER }} ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }} - IS_RELEASE_BUILD: false + IS_SNAPSHOT_BUILD: true DB_URL: ${{ secrets.DB_URL }} with: gradle-version: 7.3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8328d47..5ae0046 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ jobs: ARTIFACTORY_USER: ${{ secrets.ARTIFACTORY_USER }} ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }} DB_URL: ${{ secrets.DB_URL }} - IS_RELEASE_BUILD: 'false' + IS_SNAPSHOT_BUILD: false with: gradle-version: 7.3 arguments: clean test build artifactoryPublish --info diff --git a/build.gradle.kts b/build.gradle.kts index e30c896..34e09d8 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -138,4 +138,4 @@ artifactory { }) } -fun isReleaseBuild() = System.getenv("IS_RELEASE_BUILD")?.toBoolean() == true +fun isReleaseBuild() = System.getenv("IS_SNAPSHOT_BUILD")?.toBoolean() == false