From 992b58b3d9b6b16d5b15727e6a8c4e8bc5538e49 Mon Sep 17 00:00:00 2001 From: Tushar Jain Date: Tue, 12 Mar 2024 04:09:21 +0530 Subject: [PATCH 1/5] trigger ci From 86a9e91f764cd927c694accba2ba5f20599e887e Mon Sep 17 00:00:00 2001 From: Tushar Jain Date: Tue, 12 Mar 2024 04:22:58 +0530 Subject: [PATCH 2/5] fix: create release action --- .github/workflows/prod-workflow.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/prod-workflow.yaml b/.github/workflows/prod-workflow.yaml index e5604ea..1a26649 100644 --- a/.github/workflows/prod-workflow.yaml +++ b/.github/workflows/prod-workflow.yaml @@ -170,6 +170,9 @@ jobs: needs: [build-apk, build-bundle, build-web] runs-on: ubuntu-latest steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Download artifacts uses: actions/download-artifact@v4 with: From 410ac1de9f00c831cac7b4b1c583e9f5fd4d6d69 Mon Sep 17 00:00:00 2001 From: Tushar Jain Date: Tue, 12 Mar 2024 04:39:52 +0530 Subject: [PATCH 3/5] fix: create release action --- .github/workflows/prod-workflow.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/prod-workflow.yaml b/.github/workflows/prod-workflow.yaml index 1a26649..f4902e4 100644 --- a/.github/workflows/prod-workflow.yaml +++ b/.github/workflows/prod-workflow.yaml @@ -178,6 +178,12 @@ jobs: with: path: ./artifacts + - name: Unzip All Artifacts + run: | + unzip ./artifacts/app-release.apk.zip -d ./artifacts/apk + unzip ./artifacts/app-release.aab.zip -d ./artifacts/aab + unzip ./artifacts/web.zip -d ./artifacts/web + - name: Get flutter version id: flutter_version uses: NiklasLehnfeld/flutter-version-number-action@main @@ -198,6 +204,6 @@ jobs: name: Release ${{ steps.tag_version.outputs.new_tag }} body: ${{ steps.tag_version.outputs.changelog }} artifacts: | - ./artifacts/app-release.apk, - ./artifacts/app-release.aab, - ./artifacts/web.zip + ./artifacts/apk/app-release.apk, + ./artifacts/aab/app-release.aab, + ./artifacts/web/web.zip From 68cc69c8d7cac5986744f2eef15d05af2ac9475a Mon Sep 17 00:00:00 2001 From: Tushar Jain Date: Tue, 12 Mar 2024 05:09:33 +0530 Subject: [PATCH 4/5] fix: create release action --- .github/workflows/prod-workflow.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/prod-workflow.yaml b/.github/workflows/prod-workflow.yaml index f4902e4..b570cb1 100644 --- a/.github/workflows/prod-workflow.yaml +++ b/.github/workflows/prod-workflow.yaml @@ -53,7 +53,7 @@ jobs: - name: Upload apk uses: actions/upload-artifact@v4 with: - name: app-release.apk + name: apk path: ./build/app/outputs/flutter-apk/app-release.apk build-bundle: @@ -121,7 +121,7 @@ jobs: - name: Upload bundle uses: actions/upload-artifact@v4 with: - name: app-release.aab + name: aab path: ./build/app/outputs/bundle/release/app-release.aab build-web: @@ -162,7 +162,7 @@ jobs: - name: Upload web uses: actions/upload-artifact@v4 with: - name: web.zip + name: web path: ./web.zip create-release: @@ -180,9 +180,9 @@ jobs: - name: Unzip All Artifacts run: | - unzip ./artifacts/app-release.apk.zip -d ./artifacts/apk - unzip ./artifacts/app-release.aab.zip -d ./artifacts/aab - unzip ./artifacts/web.zip -d ./artifacts/web + unzip ./artifacts/apk/app-release.apk.zip -d ./artifacts/apk + unzip ./artifacts/aab/app-release.aab.zip -d ./artifacts/aab + unzip ./artifacts/web/web.zip.zip -d ./artifacts/web - name: Get flutter version id: flutter_version From e7fd7d247649ea3e9e8649d7c4cdc052acdc6973 Mon Sep 17 00:00:00 2001 From: Tushar Jain Date: Tue, 12 Mar 2024 05:43:59 +0530 Subject: [PATCH 5/5] fix: create release action --- .github/workflows/prod-workflow.yaml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/prod-workflow.yaml b/.github/workflows/prod-workflow.yaml index b570cb1..59f9a3e 100644 --- a/.github/workflows/prod-workflow.yaml +++ b/.github/workflows/prod-workflow.yaml @@ -177,12 +177,9 @@ jobs: uses: actions/download-artifact@v4 with: path: ./artifacts - - - name: Unzip All Artifacts - run: | - unzip ./artifacts/apk/app-release.apk.zip -d ./artifacts/apk - unzip ./artifacts/aab/app-release.aab.zip -d ./artifacts/aab - unzip ./artifacts/web/web.zip.zip -d ./artifacts/web + + - name: View files + run: ls ./artifacts - name: Get flutter version id: flutter_version