diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 465d80c872..545ec296cd 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -71,12 +71,12 @@ jobs: - name: commit run: | if [ "${{ github.event_name }}" = "pull_request" ]; then - echo "commit=${{ github.event.head_commit.message }}" >> $GITHUB_ENV + echo "commit='${{ github.event.head_commit.message }}'" >> $GITHUB_ENV else mkdir -p ${{ github.workspace }}/git_clone git clone ${{ github.server_url }}/${{ github.repository }} ${{ github.workspace }}/git_clone -b ${{ github.ref_name }} cd ${{ github.workspace }}/git_clone - echo "commit=$(git log ${{ github.event.before }}..${{ github.event.after }} --pretty=format:'%h %s')" >> $GITHUB_ENV + echo "commit='$(git log ${{ github.event.before }}..${{ github.event.after }} --pretty=format:'%h %s')'" >> $GITHUB_ENV fi - name: Post to Canary Channel