Skip to content

Commit 65129d0

Browse files
committed
testing workflow steps
1 parent f80a7fe commit 65129d0

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,13 @@ jobs:
106106
- name: Set env variable
107107
uses: FranzDiebold/github-env-vars-action@v2 #https://github.com/marketplace/actions/github-environment-variables-action
108108
- 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}"
110116
- name: Upload archives
111117
env:
112118
PACKAGECLOUD_TOKEN: ${{secrets.PACKAGECLOUD_TOKEN}}

0 commit comments

Comments
 (0)