Skip to content

Commit

Permalink
Fix automations (#3271)
Browse files Browse the repository at this point in the history
* Fix the internal_release.yml automation

* Remove unnecessary comment
  • Loading branch information
ILIYANGERMANOV committed Jul 6, 2024
1 parent 671fb51 commit 9d84dc3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/internal_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
internal_release:
runs-on: ubuntu-latest
outputs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
github_release_url: ${{ steps.create_release.outputs.github_release_url }}

steps:
- name: Checkout GIT
Expand Down Expand Up @@ -112,14 +112,15 @@ jobs:
id: create_release
uses: actions/create-release@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: |
${{ steps.Changelog.outputs.changelog }}
draft: false
prerelease: false
run: echo "github_release_url=${{ steps.create_release.outputs.upload_url }}" >> $GITHUB_ENV

build_demo_apk_and_announce:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -160,7 +161,7 @@ jobs:
- name: Upload Demo APK to GitHub Release
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ needs.internal_release.outputs.upload_url }}
upload_url: ${{ needs.internal_release.outputs.github_release_url }}
asset_path: app/build/outputs/apk/demo/app-demo.apk
asset_name: Ivy-Wallet-Demo.apk
asset_content_type: application/vnd.android.package-archive
Expand Down

0 comments on commit 9d84dc3

Please sign in to comment.