diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 84fde0685d..c82b55b9e8 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -73,7 +73,7 @@ jobs: 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 clone ${{ github.server_url }}/${{ github.repository }} ${{ github.workspace }}/git_clone -b ${{ github.ref_name }})" >> $GITHUB_ENV + echo "commit=$(git log ${{ github.event.before }}..${{ github.event.after }} --pretty=format:'%h %s')" >> $GITHUB_ENV - name: Post to Canary Channel if: ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/main' && github.ref_type != 'tag' && contains(github.event.head_commit.message, '[skip post]') == false && contains(github.event.head_commit.message, 's#') == false }}