diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 9ffd4b18c5..1e8e1500d2 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -69,10 +69,7 @@ jobs: - name: Commit run: | - 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 - text="$(git log ${{ github.event.before }}..${{ github.event.after }} --pretty=format:'%h %s')" + text="${{ github.event.sha }} ${{ github.event.head_commit.message }}" echo "commit=$(echo $text | sed 's/\([][\\`.*^$\/+?{}()=!|:-]\)/\\\1/g')" >> $GITHUB_ENV - name: Post to Canary Channel