Remove deprecated actions/upload-release-asset
This commit is contained in:
parent
8d5c86f318
commit
c14f2ba84d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue