File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,13 @@ jobs:
106
106
- name : Set env variable
107
107
uses : FranzDiebold/github-env-vars-action@v2 # https://github.com/marketplace/actions/github-environment-variables-action
108
108
- name : Set CI_TAG
109
- run : if [[ "${GITHUB_REF_TYPE}" == "tag" ]]; then echo "CI_TAG=${CI_REF}" >> $GITHUB_ENV; fi
109
+ run : if [[ "${GITHUB_REF_TYPE}" == "tag" ]]; then echo "CI_TAG=${CI_REF}" >> ${GITHUB_ENV}; fi
110
+ - name : Debug
111
+ run : echo "GITHUB_REF_TYPE=${GITHUB_REF_TYPE}; CI_TAG=${CI_TAG}; CI_REF=${CI_REF}"
112
+ - name : Set CI_BRANCH
113
+ run : if [[ "${GITHUB_REF_TYPE}" == "branch" ]]; then echo "CI_BRANCH=${CI_REF}" >> ${GITHUB_ENV}; fi
114
+ - name : Debug
115
+ run : echo "GITHUB_REF_TYPE=${GITHUB_REF_TYPE}; CI_BRANCH=${CI_BRANCH}; CI_REF=${CI_REF}"
110
116
- name : Upload archives
111
117
env :
112
118
PACKAGECLOUD_TOKEN : ${{secrets.PACKAGECLOUD_TOKEN}}
You can’t perform that action at this time.
0 commit comments