Skip to content

Commit

Permalink
Merge pull request #14 from clearmatics/fix-set-env-nuance
Browse files Browse the repository at this point in the history
Fix the GitHub actions set-env nuance across steps
  • Loading branch information
Klazomenai authored Jul 21, 2020
2 parents 5236fa2 + 6377f47 commit db23e8f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish-artefact.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,12 @@ jobs:
- name: git checkout
uses: actions/checkout@v2

- name: Set useful variables
- name: Set chart name
run: |
echo '::set-env name=CHART_NAME::'$(echo ${GITHUB_REF##*/} | awk -F '-' '{print $1}')
- name: Set useful variables
run: |
echo '::set-env name=CHART_PATH::stable/'$CHART_NAME
echo '::set-env name=ACTOR_LOWERCASE::'$(echo $GITHUB_ACTOR | tr '[:upper:]' '[:lower:]')
echo '::set-env name=SHORT_SHA::'$(echo $GITHUB_SHA|head -c 7)
Expand Down

0 comments on commit db23e8f

Please sign in to comment.