Skip to content

Commit 045d228

Browse files
committed
Merge branch 'bugfix/gh_actions_release_build' into develop
2 parents 7c831c7 + c6c190d commit 045d228

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Diff for: .github/workflows/build.yml

+4
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@ jobs:
103103
distribution: 'adopt'
104104
java-version: '8'
105105
cache: 'gradle'
106+
- name: Set env variable
107+
uses: FranzDiebold/github-env-vars-action@v2 #https://github.com/marketplace/actions/github-environment-variables-action
108+
- name: Set CI_TAG
109+
run: if [["${GITHUB_REF_TYPE}" == "tag" ]]; then echo "CI_TAG=${CI_REF}" >> $GITHUB_ENV; fi
106110
- name: Upload archives
107111
env:
108112
PACKAGECLOUD_TOKEN: ${{secrets.PACKAGECLOUD_TOKEN}}

Diff for: build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import de.undercouch.gradle.tasks.download.Download
22
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
33

4-
val tag = System.getenv("TRAVIS_TAG")?.replaceFirst("^v".toRegex(), "")
4+
val tag = System.getenv("CI_TAG")?.replaceFirst("^v".toRegex(), "")
55

66
group = "org.utplsql"
77
val mavenArtifactId = "java-api"

0 commit comments

Comments
 (0)