From c14f2ba84d8cf9079d1d012e422e05ec2ba96258 Mon Sep 17 00:00:00 2001 From: Ian VanSchooten Date: Tue, 22 Oct 2024 12:59:29 -0400 Subject: [PATCH] Remove deprecated actions/upload-release-asset --- .github/workflows/release.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6484ba7..55f7a80 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -141,6 +141,11 @@ jobs: cd android fastlane release + - name: Rename app bundle + run: | + mv build/app/outputs/bundle/release/app-release.aab \ + build/app/outputs/bundle/release/MobileNebula.aab + - name: Create GitHub Release id: create_release uses: softprops/action-gh-release@v2 @@ -149,16 +154,7 @@ jobs: draft: true prerelease: false token: ${{ secrets.GITHUB_TOKEN }} - - - name: Upload release Android app - uses: actions/upload-release-asset@v1.0.1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: build/app/outputs/bundle/release/app-release.aab - asset_name: MobileNebula.aab - asset_content_type: text/plain + files: build/app/outputs/bundle/release/MobileNebula.aab - name: Upload release iOS app uses: actions/upload-release-asset@v1.0.1