From 1bfd991af1d27b27fd731d66d39b7d6a48150f7f Mon Sep 17 00:00:00 2001 From: heinu <118418714+heinu123@users.noreply.github.com> Date: Fri, 1 Dec 2023 10:38:48 +0800 Subject: [PATCH] edit push --- .github/workflows/android.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }}