File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff 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}}
Original file line number Diff line number Diff line change 11import de.undercouch.gradle.tasks.download.Download
22import 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
66group = " org.utplsql"
77val mavenArtifactId = " java-api"
You can’t perform that action at this time.
0 commit comments