Skip to content

Commit

Permalink
c (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
tpasipanodya authored Dec 12, 2021
1 parent c5a6fac commit ee4d47c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,4 @@ artifactory {
})
}

fun isReleaseBuild() = System.getenv("IS_RELEASE_BUILD")?.toBoolean() == true
fun isReleaseBuild() = System.getenv("IS_SNAPSHOT_BUILD")?.toBoolean() == false

0 comments on commit ee4d47c

Please sign in to comment.