try fixing commit short

This commit is contained in:
HifiExperiments 2020-11-17 15:09:50 -08:00
parent be55993dda
commit 17f579882a
2 changed files with 4 additions and 2 deletions

View file

@ -49,7 +49,8 @@ jobs:
id: buildenv1
run: |
echo "UPLOAD_PREFIX=master" >> $GITHUB_ENV
echo "GIT_COMMIT_SHORT=echo $GIT_COMMIT | cut -c1-7" >> $GITHUB_ENV
GIT_COMMIT_SHORT=echo $GIT_COMMIT | cut -c1-7
echo "GIT_COMMIT_SHORT=$GIT_COMMIT_SHORT" >> $GITHUB_ENV
echo "JOB_NAME=build (${{matrix.os}}, ${{matrix.build_type}})" >> $GITHUB_ENV
# Linux build variables
if [[ "${{ matrix.os }}" = "ubuntu-"* ]]; then

View file

@ -49,7 +49,8 @@ jobs:
shell: bash
id: buildenv1
run: |
echo "GIT_COMMIT_SHORT=echo $GIT_COMMIT | cut -c1-7" >> $GITHUB_ENV
GIT_COMMIT_SHORT=echo $GIT_COMMIT | cut -c1-7
echo "GIT_COMMIT_SHORT=$GIT_COMMIT_SHORT" >> $GITHUB_ENV
echo "JOB_NAME=build (${{matrix.os}}, ${{matrix.build_type}})" >> $GITHUB_ENV
# Linux build variables