Remove deprecated actions/upload-release-asset

This commit is contained in:
Ian VanSchooten 2024-10-22 12:59:29 -04:00
parent 6da94f1b48
commit f0c0d4b49e
1 changed files with 6 additions and 10 deletions

View File

@ -141,6 +141,11 @@ jobs:
cd android cd android
fastlane release 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 - name: Create GitHub Release
id: create_release id: create_release
uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v2
@ -149,16 +154,7 @@ jobs:
draft: true draft: true
prerelease: false prerelease: false
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
files: build/app/outputs/bundle/release/MobileNebula.aab
- 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
- name: Upload release iOS app - name: Upload release iOS app
uses: actions/upload-release-asset@v1.0.1 uses: actions/upload-release-asset@v1.0.1