Skip to content

Commit

Permalink
chore : add release signing details.
Browse files Browse the repository at this point in the history
  • Loading branch information
jerryOkafor committed Apr 10, 2024
1 parent 9557084 commit 1041e82
Showing 1 changed file with 8 additions and 25 deletions.
33 changes: 8 additions & 25 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
files: |
app/build/outputs/apk/release/app-release.apk
app/build/outputs/bundle/release/app-release.aab

0 comments on commit 1041e82

Please sign in to comment.