From ad0ac2f0140e55cbce026e38950793ba90ba903f Mon Sep 17 00:00:00 2001 From: Neal Xu Date: Mon, 8 Jan 2024 15:43:44 +0800 Subject: [PATCH] Update build-release-android.yml fix release error --- .github/workflows/build-release-android.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-release-android.yml b/.github/workflows/build-release-android.yml index 1e0af280..22384bb4 100644 --- a/.github/workflows/build-release-android.yml +++ b/.github/workflows/build-release-android.yml @@ -114,7 +114,7 @@ jobs: ./gradlew assemble echo "tokencore_sha256=$(shasum -a 256 ${{github.workspace}}/publish/android/tokencore/build/outputs/aar/tokencore-release.aar | awk '{ print $1 }')" >> $GITHUB_OUTPUT echo "tokencore-release.aar sha256: $(shasum -a 256 ${{github.workspace}}/publish/android/tokencore/build/outputs/aar/tokencore-release.aar | awk '{ print $1 }')" - cp ${{github.workspace}}/publish/android/tokencore/build/outputs/aar/tokencore-release.aar ${{github.workspace}}/tokenecore-${{ steps.getversion.outputs.version }}.aar + cp ${{github.workspace}}/publish/android/tokencore/build/outputs/aar/tokencore-release.aar ${{github.workspace}}/tokencore-${{ steps.getversion.outputs.version }}.aar popd - name: Release @@ -123,8 +123,7 @@ jobs: name: "Android Release ${{ steps.getversion.outputs.version }}" tag_name: "v${{ steps.getversion.outputs.version }}" generate_release_notes: true - files: | - tokenecore-${{ steps.getversion.outputs.version }}.aar + files: tokencore-${{ steps.getversion.outputs.version }}.aar - name: Send custom JSON data to Slack workflow id: slack