From 1041e823e566b6a8549676e2dc36be66b8b1b76a Mon Sep 17 00:00:00 2001 From: Jerry Okafor Date: Tue, 9 Apr 2024 21:01:28 -0600 Subject: [PATCH] chore : add release signing details. --- .github/workflows/Release.yml | 33 ++++++++------------------------- 1 file changed, 8 insertions(+), 25 deletions(-) diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 0e3097b..a2880a0 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -56,36 +56,19 @@ jobs: - name: Test VersionName and VersionCode run: | - echo "{{steps.version.output.VERSION_CODE}}" - echo "{{steps.version.output.VERSION_NAME}}" + echo "${{steps.version.output.VERSION_CODE}}" + echo "${{steps.version.output.VERSION_NAME}}" - name: Create Release - id: create_release - uses: actions/create-release@v1 + id: create-release + uses: softprops/action-gh-release@v2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: ${{ github.ref }} - release_name: ${{ github.ref }} + name: ${{ github.ref }} draft: true prerelease: false - - - name: Upload apk - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: app/build/outputs/apk/release/app-release.apk - asset_name: app-release.apk - asset_content_type: application/vnd.android.package-archive - - - name: Upload App Bundle - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: app/build/outputs/bundle/release/app-release.aab - asset_name: app-release.aab - asset_content_type: application/x-authorware-bin \ No newline at end of file + files: | + app/build/outputs/apk/release/app-release.apk + app/build/outputs/bundle/release/app-release.aab \ No newline at end of file