File tree 2 files changed +5
-1
lines changed
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,10 @@ jobs:
103
103
distribution : ' adopt'
104
104
java-version : ' 8'
105
105
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
106
110
- name : Upload archives
107
111
env :
108
112
PACKAGECLOUD_TOKEN : ${{secrets.PACKAGECLOUD_TOKEN}}
Original file line number Diff line number Diff line change 1
1
import de.undercouch.gradle.tasks.download.Download
2
2
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
3
3
4
- val tag = System .getenv(" TRAVIS_TAG " )?.replaceFirst(" ^v" .toRegex(), " " )
4
+ val tag = System .getenv(" CI_TAG " )?.replaceFirst(" ^v" .toRegex(), " " )
5
5
6
6
group = " org.utplsql"
7
7
val mavenArtifactId = " java-api"
You can’t perform that action at this time.
0 commit comments