Skip to content

Commit

Permalink
+ Fixing CI
Browse files Browse the repository at this point in the history
  • Loading branch information
null2264 committed Jun 6, 2022
1 parent f2f6d0d commit 7da1077
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ jobs:
cp app/build/outputs/apk/release/app-x86-release-unsigned-signed.apk skincan-x86-${{ env.VERSION_TAG }}.apk
sha=`sha256sum skincan-x86-${{ env.VERSION_TAG }}.apk | awk '{ print $1 }'`
echo "APK_X86_SHA=$sha" >> $GITHUB_ENV
cp app/build/outputs/apk/release/app-x86_64-release-unsigned-signed.apk skincan-x86_64-${{ env.VERSION_TAG }}.apk
sha=`sha256sum skincan-x86_64-${{ env.VERSION_TAG }}.apk | awk '{ print $1 }'`
echo "APK_X86_64_SHA=$sha" >> $GITHUB_ENV
- name: Create Release
if: env.VERSION_TAG != ''
uses: softprops/action-gh-release@v1
Expand All @@ -93,12 +96,14 @@ jobs:
| Universal | ${{ env.APK_UNIVERSAL_SHA }}
| arm64-v8a | ${{ env.APK_ARM64_V8A_SHA }}
| armeabi-v7a | ${{ env.APK_ARMEABI_V7A_SHA }}
| x86 | ${{ env.APK_X86_SHA }} |
| x86 | ${{ env.APK_X86_SHA }}
| x86_64 | ${{ env.APK_X86_64_SHA }} |
files: |
skincan-${{ env.VERSION_TAG }}.apk
skincan-arm64-v8a-${{ env.VERSION_TAG }}.apk
skincan-armeabi-v7a-${{ env.VERSION_TAG }}.apk
skincan-x86-${{ env.VERSION_TAG }}.apk
skincan-x86_64-${{ env.VERSION_TAG }}.apk
draft: true
prerelease: false
env:
Expand Down

0 comments on commit 7da1077

Please sign in to comment.