From 86ba085c114454109c48130e8ece6f5f6c92ec72 Mon Sep 17 00:00:00 2001 From: heinu <118418714+heinu123@users.noreply.github.com> Date: Thu, 14 Mar 2024 22:30:45 +0800 Subject: [PATCH] fix ci --- .github/workflows/android.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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