From bfcd64ee76afc07184a22abaf8baf7fd4cf2d5b4 Mon Sep 17 00:00:00 2001 From: lihenggui Date: Thu, 6 Jul 2023 16:24:05 -0700 Subject: [PATCH] Create releases after uploading the file Change-Id: I18c1493dddf4dca9d3cabc7d889ce94f3cc32761 --- .github/workflows/Release.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index ab6dca7ea7..aee4359051 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -47,17 +47,6 @@ jobs: - name: Build app run: ./gradlew :app-compose:assembleRelease :app-compose:bundleRelease - - name: Create Release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }} - with: - tag_name: ${{ github.ref }} - release_name: ${{ github.ref }} - draft: true - prerelease: false - - name: Upload build outputs (APKs) uses: actions/upload-artifact@v3 with: @@ -85,6 +74,17 @@ jobs: name: mappings path: "app-compose/build/outputs/mapping/marketRelease" + - name: Create Release + id: create_release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }} + with: + tag_name: ${{ github.ref }} + release_name: ${{ github.ref }} + draft: true + prerelease: false + - name: Publish to Play Store internal test track uses: r0adkll/upload-google-play@v1.1.1 with: